> http://172.17.100.16:8888/solr/collection1/select?q=name:(4U
> OR Cabs)^12.8
> category:(4U OR Cabs)^1.6 subcategory:(4U OR Cabs)^0.4
> description:(4U OR
> Cabs)^0.1
> 
> the above query is throwing the the following error
> 
> field "subcategory" was indexed with
> Field.omitTermFreqAndPositions=true;
> cannot run PhraseQuery (term=4)
> 
> 
> 
> subcategory field in schema.xml is like this
> 
> <field name="subcategory" type="text_en" required="true"
> multiValued="true"/>

omitTermFreqAndPositions="true" is an option that field types can have. 
Positions are required for phrase queries. Do you have this option set in 
type="text_en" definition?

Reply via email to