Solr schema, how to get dynamic fields in a collec

2019-06-25 06:26发布

问题:

I'm running Solr 4.10.3.

setting dynamic fields of the type *_f

I would like to list all the added dynamic fields, but am not having luck using /schema/dynamicfields, or /schema/fields routes.

I see that the schema-browser in the web-app dashboard is capable of listing them and would like to know how that is done, anyone have a clue?

回答1:

This query

select?q=*:*&wt=csv&rows=0&facet&fl=*_f

will get you all the dynamic fields ending with _f that are currently in use.



标签: solr