Re: Getting list of unique values in a field

2019-07-15 Thread Jason Gerlowski
The Solr ref-guide has examples which show how to do this too. Take a look at some of the faceting examples here: https://lucene.apache.org/solr/guide/8_1/json-facet-api.html#bucketing-facet-example Best, Jason On Fri, Jul 12, 2019 at 9:50 AM David Hastings wrote: > > i found this: > > https:/

Re: Getting list of unique values in a field

2019-07-12 Thread David Hastings
i found this: https://stackoverflow.com/questions/14485031/faceting-using-solrj-and-solr4 and this https://www.programcreek.com/java-api-examples/?api=org.apache.solr.client.solrj.response.FacetField just from a google search On Fri, Jul 12, 2019 at 9:46 AM Steven White wrote: > Thanks Davi

Re: Getting list of unique values in a field

2019-07-12 Thread Steven White
Thanks David. But is there a SolrJ sample code on how to do this? I need to see one, or at least the API, so I know how to make the call. Steven On Fri, Jul 12, 2019 at 9:42 AM David Hastings wrote: > just use a facet on the field should work yes? > > On Fri, Jul 12, 2019 at 9:39 AM Steven Wh

Re: Getting list of unique values in a field

2019-07-12 Thread David Hastings
just use a facet on the field should work yes? On Fri, Jul 12, 2019 at 9:39 AM Steven White wrote: > Hi everyone, > > One of my indexed field is as follows: > > multiValued="false" indexed="true" required="true" stored="false"/> > > It holds the file extension of the files I'm indexing. Th

Getting list of unique values in a field

2019-07-12 Thread Steven White
Hi everyone, One of my indexed field is as follows: It holds the file extension of the files I'm indexing. That is, let us say I indexed 10 million files and the result of such indexing, the field CC_FILE_EXT will now have the file extension. In my case the unique file extension list is a