Hi,

I'm trying to search for a specific phrase on a specific index field.
The filed definition is : <field name="title_string" type="string" 
indexed="true" stored="true" />

Type definition:
<fieldType name="string" class="solr.StrField" sortMissingLast="true" 
omitNorms="true"/>

When trying the following query:
http://localhost:8983/solr/select?q=title_string:'One Shot'

I'm getting back titles that match the string 'One Shot' but also titles that 
only start with 'One Shot' (i.e. 'One Shot ABC')
In additional, the 'One Shot ABC' gets higher score then title that has exact 
match to 'One Shot'.

What should be the correct configuration so that the query will return only 
exact match?

Thanks



Reply via email to