The search is now working for those terms. I did the following changes.
In schema file, I replace  
<field name="content" type="text" indexed="true" stored="true"
multiValued="true" omitNorms="false" termVectors="true" termPositions="true"
termOffsets="true"/> 

with 

<field name="content" type="text" indexed="true" stored="true"
multiValued="false"/>.



Ahmet Arslan wrote:
> 
> 
>> I tired adding &hl.maxAnalyzedChars=-1 to my search
>> query but it didnt
>> helped.
>> Just wanted to know if there are limitations on the certain
>> search terms.
>> Its bit strange that solr is not behaving properly for
>> certain terms
>> (especially returning the excerpts in highlighting
>> dictionary).
>> The terms which i have found so far are:
>> 1. co-ownership
>> 2. "co ownership"
>> 3. co-employees
>> 
> 
> Can you paste your field type definition and declaration? Are you storing
> term vectors? Also can you give us an query and document pair (returns
> that document but no highlighting) I will try to reproduce the problem. 
> 
> Also what happens when you use &hl.usePhraseHighlighter=false?
> 
> 
>       
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Weired-behaviour-for-certain-search-terms-tp27927995p27981626.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to