Re: How to get case-sensitive Terms?

2021-02-18 Thread Alexandre Rafalovitch
Terms query does not do analysis chain, but expect tokenized values. Because it matches what is returned by faceting. So I would check whether that field is string or text and difference in processing. Enabling debug will also show difference in final expanded form. Regards, Alex P. S. It is

Re: How to get case-sensitive Terms?

2021-02-17 Thread elivis
Alexandre Rafalovitch wrote > What about copyField with the target being index only (docValue only?) and > no lowercase on the target field type? > > Solr is not a database, you are optimising for search. So duplicate, > multi-process, denormalise, create custom field types, etc. > > Regards, >

Re: How to get case-sensitive Terms?

2021-02-03 Thread Alexandre Rafalovitch
What about copyField with the target being index only (docValue only?) and no lowercase on the target field type? Solr is not a database, you are optimising for search. So duplicate, multi-process, denormalise, create custom field types, etc. Regards, Alex On Wed., Feb. 3, 2021, 4:43 p.m.

Re: How to get case-sensitive Terms?

2021-02-03 Thread elivis
Alexandre Rafalovitch wrote > It is documented in the reference guide: > https://lucene.apache.org/solr/guide/8_8/analysis-screen.html > > Hope it helps, >Alex. > > On Tue, 2 Feb 2021 at 00:57, elivis > elivis@ > wrote: >> >> Alexandre Rafalovitch wrote >> > Admin UI also allows you to

Re: How to get case-sensitive Terms?

2021-02-02 Thread Alexandre Rafalovitch
It is documented in the reference guide: https://lucene.apache.org/solr/guide/8_8/analysis-screen.html Hope it helps, Alex. On Tue, 2 Feb 2021 at 00:57, elivis wrote: > > Alexandre Rafalovitch wrote > > Admin UI also allows you to run text string against a field definition to > > see what

Re: How to get case-sensitive Terms?

2021-02-01 Thread elivis
Alexandre Rafalovitch wrote > Admin UI also allows you to run text string against a field definition to > see what each stage of analyzer chain does. Thank you. Could you please give me some pointers how to achieve this (see what each stage of analyzer chain does in Admin UI)? -- Sent from:

Re: How to get case-sensitive Terms?

2021-02-01 Thread elivis
Alexandre Rafalovitch wrote > Admin UI also allows you to run text string against a field definition to > see what each stage of analyzer chain does. Thank you. Could please let me know how to do this (see what each stage of analyzer chain does)? -- Sent from:

Re: How to get case-sensitive Terms?

2021-01-30 Thread Alexandre Rafalovitch
Check the field type and associated indexing chain in managed-schema of your core. It probably has the lowercase filter in it. Find a better type or make one yourself. Remember to reload the schema and reindex the content. Admin UI also allows you to run text string against a field definition to

How to get case-sensitive Terms?

2021-01-30 Thread elivis
I'm using Terms Component functionality (https://lucene.apache.org/solr/guide/8_4/the-terms-component.html) to get all terms from an index. However, I need the terms to be in the original case lettering (e.g. "TeSt"). So far I am only able to get lowercased terms (i.e. "test" instead of "TeSt").