lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isan Fulia <isan.fu...@germinait.com>
Subject Query failing because of omitTermFreqAndPositions
Date Thu, 29 Sep 2011 05:14:09 GMT
Hi All,

My schema consisted of field textForQuery which was defined as
<field name="textForQuery" type="text" indexed="true" stored="false"
multiValued="true"/>

After indexing 10 lakhs  of  documents  I changed the field to
<field name="textForQuery" type="text" indexed="true" stored="false"
multiValued="true" *omitTermFreqAndPositions="true"*/>

So documents that were indexed after that omiited the position information
of the terms.
As a result I was not able to search the text which rely on position
information for eg. "coke studio at mtv" even though its present in some
documents.

So I again changed the field textForQuery to
<field name="textForQuery" type="text" indexed="true" stored="false"
multiValued="true"/>

But now even for new documents added  the query requiring positon
information is still failing.
For example i reindexed certain documents that consisted of "coke studio at
mtv" but still the query is not returning any documents when searched for
*textForQuery:"coke studio at mtv"*

Can anyone please help me out why this is happening


-- 
Thanks & Regards,
Isan Fulia.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message