Re: Problem with facet in SOLR

2022-04-03 Thread Dave
Other things to consider, without seeing your raw query, is make sure facet=true is in it, and ideally for facets you want a string field rather than text and I docvalues/stored being true, then rerun a sample index and test again. Also facets work on dynamic fields as well, I don’t. Know if doc

Re: Problem with facet in SOLR

2022-04-02 Thread Neha Gupta
Thanks James...this is what i was looking for. On 02/04/2022 03:24, James Greene wrote: Either docValues set to true or field needs to be indexed to use the field with faceting. On Fri, Apr 1, 2022, 5:01 AM Neha Gupta wrote: Hello Andy, Thanks for the reply. I had given facet.field=taxo_d

Re: Problem with facet in SOLR

2022-04-01 Thread James Greene
Either docValues set to true or field needs to be indexed to use the field with faceting. On Fri, Apr 1, 2022, 5:01 AM Neha Gupta wrote: > Hello Andy, > > Thanks for the reply. > > I had given > > facet.field=taxo_domain_mother > > in the query but no result was coming. > > Now i had set docValu

Re: Problem with facet in SOLR

2022-04-01 Thread Andy Lester
> On Apr 1, 2022, at 3:59 AM, Neha Gupta wrote: > > Now i had set docValues=true for this attribute and not facet is working. > > Just want to know is it necessary to set the docValue to true to make facet > working for the attribute? I don’t think docValues is necessary, but it will make th

Re: Problem with facet in SOLR

2022-04-01 Thread Neha Gupta
Hello Andy, Thanks for the reply. I had given facet.field=taxo_domain_mother in the query but no result was coming. Now i had set docValues=true for this attribute and not facet is working. Just want to know is it necessary to set the docValue to true to make facet working for the attribute

Re: Problem with facet in SOLR

2022-03-31 Thread Andy Lester
> I have indexed 4 fields and want to use facet on "taxo_domain_mother" but i > am not getting any result It looks like you don’t have facet.field=taxo_domain_mother specified in your query. It’s hard to tell exactly because screenshots make it difficult to figure things out. > Do i need t