Rob Foree
Rob Foree

Reputation: 385

Solr schema, how to get dynamic fields in a collection

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?

Upvotes: 4

Views: 1759

Answers (1)

AdamStallard
AdamStallard

Reputation: 1830

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.

Upvotes: 1

Related Questions