On 12/4/2014 8:20 AM, Constantin Wolber wrote:
> we use dynamic Fields in our schema.
>
>  
>
> If I use the admin/luke URL all those dynamic fields are listed with
> their actual name.
>
>  
>
> If I use the rest endpoint /schema/fields only the hard coded fields
> are returned. And dynamicFields only returns the definition of the
> dynamicFields. I was expecting a similar result like the one through
> the admin/luke URL which would return all the hard coded fields and
> all the ones dynamically being generated.
>
>  
>
> Does anybody know if there exists something like this or is luke the
> only chance I have?
>

Luke is a lucene-level tool, and at the Lucene level, there is no
schema.  Lucene doesn't know what a dynamic field is ... effectively
they're ALL dynamic.

The /schema endpoints are looking at the schema definition, not the
index ... so they cannot know what actual fields are in the index.

What you're after will require a new feature.  You can file an issue in
Apache Jira under the Solr project.  This will require an account on Jira.

https://issues.apache.org/jira/browse/SOLR

The project is all volunteer, so filing an issue to request a new
feature does not guarantee that the feature will be built.

Thanks,
Shawn

Reply via email to