Use fieldType string.
If you're using custom fieldType, "secret" would not match with "secrets"
unless you use appropriate analyzer (Stemmer, EdgeNGrams) but it may still
match with "secret something" if you're using StandardTokenizer or
something similar (use KeywordTokenizer).
On Tue, 4 Feb 202
You can store a non alayzed version and copy it to an analyzed field.
If you need full text search, you se the analyzed version. Otherwise use the
non analyzed version.
If you want to search both you could still do that and boost the non alayzed
version if needed
On Tue, 04 Feb 2020
Hello, Ćukasz
The later for sure.
On Tue, Feb 4, 2020 at 12:44 PM Antczak, Lukasz
wrote:
> Hi, Solr experts!
>
> I would like to learn from you if there is a better solution for doing
> 'exact search' in Solr.
> Exact search means no analysis for the text other then tokenization. Query
> "secret