Reply
Highlighted
Explorer
Posts: 32
Registered: ‎03-17-2017

Using Clouders search for lname 'smith', I am getting 'smitty and 'smits'

I have defined this field in the schema as follows:

<field name="lname" type="string" indexed="true" stored="true"/>

according to the docs in schema:

-> The StrField type is not analyzed, but indexed/stored verbatim. It supports doc values but in that case the field needs to be single-valued and either required or have a default value. -->

<fieldType name="string" class="solr.StrField" sortMissingLast="true" />

Yet when I query lname:smith, atleast in the top 10 responses I am getting smitty and smits but not smith. Why smith is not being returned. However, when I try lname:smith* I get many results.
Any pointer to get the correct result is appreciated. I am using CDH 5.10

Announcements