[
https://issues.apache.org/jira/browse/SOLR-8992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15252206#comment-15252206
]
Steve Rowe edited comment on SOLR-8992 at 4/21/16 5:09 PM:
-----------------------------------------------------------
Noble,
Looks like you didn't put back the ability to use
{{schema/fields/_fieldname_&includeDynamic=true}}? When I put back this test
you removed under SOLR-8736, it fails with error {{No such path
/schema/fields/some_crazy_name_i}}:
{code:java|title=TestFieldResource.java}
public void testGetFieldIncludeDynamic() throws Exception {
assertQ("/schema/fields/some_crazy_name_i?indent=on&wt=xml&includeDynamic=true",
"/response/lst[@name='field']/str[@name='name'] = 'some_crazy_name_i'",
"/response/lst[@name='field']/str[@name='dynamicBase'] = '*_i'");
}
{code}
was (Author: steve_rowe):
Noble,
Looks like you didn't put back the ability to use
{{schema/fields/_fieldname_&dynamicSchema=true}}? When I put back this test
you removed under SOLR-8736, it fails with error {{No such path
/schema/fields/some_crazy_name_i}}:
{code:java|title=TestFieldResource.java}
public void testGetFieldIncludeDynamic() throws Exception {
assertQ("/schema/fields/some_crazy_name_i?indent=on&wt=xml&includeDynamic=true",
"/response/lst[@name='field']/str[@name='name'] = 'some_crazy_name_i'",
"/response/lst[@name='field']/str[@name='dynamicBase'] = '*_i'");
}
{code}
> Restore Schema API GET method functionality removed by SOLR-8736
> ----------------------------------------------------------------
>
> Key: SOLR-8992
> URL: https://issues.apache.org/jira/browse/SOLR-8992
> Project: Solr
> Issue Type: Bug
> Reporter: Steve Rowe
> Assignee: Noble Paul
> Attachments: SOLR-8992.patch
>
>
> The following schema API GET functionality was removed under SOLR-8736; some
> of this functionality should be restored:
> * {{schema/copyfields}}:
> ** The following information is no longer output:
> *** {{destDynamicBase}}: the matching dynamic field pattern for the
> destination
> *** {{sourceDynamicBase}}: the matching dynamic field pattern for the source
> ** The following request parameters are no longer supported:
> *** {{dest.fl}}: include only copyFields that have one of these as a
> destination
> *** {{source.fl}}: include only copyFields that have one of these as a source
> * {{schema/dynamicfields}}:
> ** The following request parameters are no longer supported:
> *** {{fl}}: a comma and/or space separated list of dynamic field patterns to
> include
> * {{schema/fields}} and {{schema/fields/_fieldname_}}:
> ** The following information is no longer output:
> *** {{dynamicBase}}: the matching dynamic field pattern, if the
> {{includeDynamic}} param is given (see below)
> ** The following request parameters are no longer supported:
> *** {{fl}}: (only supported without {{/_fieldname_}}): a comma and/or space
> separated list of fields to include
> *** {{includeDynamic}}: output the matching dynamic field pattern as
> {{dynamicBase}}, if {{_fieldname_}}, or field(s) listed in {{fl}} param, are
> not explicitly declared in the schema
> * {{schema/fieldtypes}} and {{schema/fieldtypes/_typename_}}:
> ** The following information is no longer output:
> *** {{fields}}: the fields with the given field type
> *** {{dynamicFields}}: the dynamic fields with the given field type
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]