Re: java.lang.IllegalStateException on using group.facet=true in solr query

2024-10-15 Thread Saksham Gupta
Hi Mikhail, Thanks for chipping in. Will try to do a small rnd by changing the datatype, although as per my knowledge datatype should not cause this issue as: 1. We are already applying facet, which works fine, group.facet is failing. 2. A separate underlying docValue type is maintained for fiel

Re: java.lang.IllegalStateException on using group.facet=true in solr query

2024-10-15 Thread Mikhail Khludnev
Hello. Please find below. On Tue, Oct 15, 2024 at 10:37 AM Saksham Gupta wrote: > Hi All, > > java.lang.IllegalStateException: unexpected docvalues type NUMERIC for > field 'CustTypeWt' (expected=SORTED). Re-index with correct docvalues type. > It can't handle numbers. Reindex this field as a s

java.lang.IllegalStateException on using group.facet=true in solr query

2024-10-15 Thread Saksham Gupta
Hi All, We are using solr 9.6.1 with a collection consisting of 59 shards [one document might be present on more than one shard]. We are trying to apply grouping based on suppliers and then apply facet based on one document of each supplier [although we are fetching more than one]. To achieve thi