I have field string field ‘tags’ and I want to list all indexed values for ‘tag’ from Solr.
Is there some introspection API in order to get hold of all values as JSON or XML?
I have field string field ‘tags’ and I want to list all indexed values
Share
You can use TermsComponent.
The TermsComponent SearchComponent is a simple component that provides access to the indexed terms in a field and the number of documents that match each term.
This will return all the indexed terms. You can specify the field for which you want to retrieve the terms for.