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 fields which have
docValues enabled. For PointFields [as in my case], this type is Numeric
for single-valued fields and Sorted_Numeric for multi-valued fields. The
datatype as per logs is Numeric for my int type, single valued field, which
is correct as per the documentation. Source for this information
<https://solr.apache.org/guide/solr/latest/indexing-guide/docvalues.html#enabling-docvalues>

On Tue, Oct 15, 2024 at 2:08 PM Mikhail Khludnev <m...@apache.org> wrote:

> Hello. Please find below.
>
> On Tue, Oct 15, 2024 at 10:37 AM Saksham Gupta
> <saksham.gu...@indiamart.com.invalid> 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 string or use a string
> copy of this field.
>
> --
> Sincerely yours
> Mikhail Khludnev
>

Reply via email to