[
https://issues.apache.org/jira/browse/SOLR-8985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15242929#comment-15242929
]
Steve Rowe edited comment on SOLR-8985 at 4/15/16 1:08 PM:
-----------------------------------------------------------
Noble, the functionality you added (return *all* dynamic fields in the response
when the "dynamicFields" query param is set to true on a request to
{{schema/fields}}) is not the same as the original feature.
Here's the description you removed from the ref guide's Schema API page of what
the feature was:
||param||type||required||default||description||
|includeDynamic|boolean|No|false|If *true*, and if the *fl* query parameter is
specified or the fieldname path parameter is used, matching dynamic fields are
included in the response and identified with the *dynamicBase* property. If
neither the fl query parameter nor the fieldname path parameter is specified,
the *includeDynamic* query parameter is ignored. If *false*, matching dynamic
fields will not be returned.|
FYI, here's an example of this kind of query on Solr 5.4.1:
{noformat}
$ curl
"http://localhost:8983/solr/testing123/schema/fields?fl=test_s&includeDynamic=true"
{
"responseHeader":{
"status":0,
"QTime":1},
"fields":[{
"name":"test_s",
"type":"string",
"indexed":true,
"stored":true,
"dynamicBase":"*_s"}]}
{noformat}
was (Author: steve_rowe):
Noble, the functionality you added (return *all* dynamic fields in the response
when the "dynamicFields" query param is set to true on a request to
{{schema/fields}}) is not the same as the original feature.
Here's the description you removed from the Schema API page of what the feature
was:
||param||type||required||default||description||
|includeDynamic|boolean|No|false|If *true*, and if the *fl* query parameter is
specified or the fieldname path parameter is used, matching dynamic fields are
included in the response and identified with the *dynamicBase* property. If
neither the fl query parameter nor the fieldname path parameter is specified,
the *includeDynamic* query parameter is ignored. If *false*, matching dynamic
fields will not be returned.|
FYI, here's an example of this kind of query on Solr 5.4.1:
{noformat}
$ curl
"http://localhost:8983/solr/testing123/schema/fields?fl=test_s&includeDynamic=true"
{
"responseHeader":{
"status":0,
"QTime":1},
"fields":[{
"name":"test_s",
"type":"string",
"indexed":true,
"stored":true,
"dynamicBase":"*_s"}]}
{noformat}
> put back support for the flag 'includeDynamic' to the /schema/fields api
> ------------------------------------------------------------------------
>
> Key: SOLR-8985
> URL: https://issues.apache.org/jira/browse/SOLR-8985
> Project: Solr
> Issue Type: Bug
> Affects Versions: 6.0
> Reporter: Noble Paul
> Assignee: Noble Paul
> Fix For: master, 6.1
>
> Attachments: SOLR-8985.patch
>
>
> This was available till 5.5 and was taken out in 6.0 release as part of
> SOLR-8736
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]