Yes, you can update the field type from a TextField to a String or change
the analyzer:

https://solr.apache.org/guide/8_11/analyzers.html

Cheers,
JAG


On Thu, Mar 31, 2022 at 10:41 PM ozatomic <o...@levelbelow.net> wrote:

> Thanks JAG,
>
> Is this something that can configured so that it does not tokenize?
>
> On 1/04/2022 1:30 pm, James Greene wrote:
> > Expected, your search term is getting tokenized to the lowercase to
> > uppercase is similar to a natural language 'word break' thus it gets
> > tokenized to 'my word'.
> >
> > Cheers,
> > JAG
> >
> > On Thu, Mar 31, 2022 at 10:27 PM ozatomic <o...@levelbelow.net> wrote:
> >
> >> Hi,
> >>
> >> While doing some testing with my instance of solr I have noticed that if
> >> i mix cases in a search string it is treated like 2 words? is this the
> >> expected behavior? or a config issue.
> >>
> >>
> >> Examples
> >>
> >> "myword" returns results with:
> >> - myword
> >> - myWord
> >> - MYWord
> >>
> >>
> >> "myWORD" returns results with:
> >> - myword
> >> - myWord
> >> - MYWord
> >> - My Word
> >> - my, word
> >>
> >>
>

Reply via email to