lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jimmon <>
Subject solr error, cannot run PhraseQuery
Date Mon, 02 Jul 2012 09:42:06 GMT OR Cabs)^12.8
category:(4U OR Cabs)^1.6 subcategory:(4U OR Cabs)^0.4 description:(4U OR

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"

The only difference between name,category,subcategory & description is
subcategory is multivalued.
In the above solr query if we change subcategory:(4U OR Cabs) to 
subcategory:(5U OR Cabs) ,subcategory:(6U OR Cabs)  etc it works.

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message