lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Seer <pulsph...@yahoo.com>
Subject Re: Multi Value field
Date Tue, 07 Jul 2009 20:46:50 GMT


I already tried to use custom similarity (I set all methods to return 1f)- 
doesn't work.
I just try norms idea as well no change


markharw00d wrote:
> 
>> if the term is "X Y" the document 2 is getting higher score then  
>> document 1.
> 
> 
> That may be length normalisation at play. Doc 2 is shorter so may be  
> seen as a better match for that reason.
> Using the "explain" function helps illustrate the break down of scores  
> in matches.
> 
> You could try indexing that field without "norms" or use a custom  
> Similarity at query time to ignore the length normalisation factor.
> 
> Cheers
> Mark
> 
> 
> 
> On 7 Jul 2009, at 19:31, John Seer wrote:
> 
>>
>> Hello,
>>
>> I  have 100k index with documents with one searchable field in it.  
>> That
>> field has multiple values for example
>>
>> doc( search: X search : X Y search: X Y Z id:1)
>> doc( search: X Y K id:2)
>>
>> I am using Standard Analyzer for building and searching, and having  
>> problem
>> with scores
>>
>> if the term is "X Y" the document 2 is getting higher score then  
>> document 1.
>>
>>
>> Please can someone suggest way that doc 1 will score higher?
>> Maybe I need to use some specific query type?
>>
>> Thanks
>>
>>
>>
>> -- 
>> View this message in context:
>> http://www.nabble.com/Multi-Value-field-tp24378975p24378975.html
>> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Multi-Value-field-tp24378975p24381024.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message