Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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


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

Don't have an account?
Coming from Hortonworks? Activate your account here