05-31-2017 08:11 AM
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