Hi Zhiqing,

It is very common with Solr to have the same value indexed in different
fields with different analyses. If you do it with copyField, you don't even
have to worry about it at index time.

Thomas

Op di 17 mei 2022 om 22:21 schreef WU, Zhiqing <z...@ennov.com>:

> Hello,
> We are going to change the class of key fields in our Solr. We hope these
> fields are sortable and can be used for grouping and searching.
> We have considered solr.StrField, TextField and SortableTextField. However,
> we notice that StrField is not case-insensitive, which is not good for
> searching. TextField is not sortable and SortableTextField is not good if
> it is used for faceting.
> If we do not want two separate fields (not very efficient) -- one for
> sorting and one for faceting, is there another option we can choose? Is it
> possible to let StrField become case-insensitive?
> Many thanks in advance.
> Kind regards,
> Zhiqing
>

Reply via email to