lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: Lucene help with query
Date Thu, 09 Apr 2009 00:17:07 GMT
If you omit norms when indexing the name field, you'll get same score back.

Koji

The Seer wrote:
> Hello,
>
> I have 5 lucene documents 
>
> name: Apple
> name: Apple martini
> name: Apple drink
> name: Apple sweet drink
>
> I am using lucene default similarity and standard analyzer .
>
> When I am searching for apple I am getting all 4 documents with the same
> score back. If I use hits the score is 1.0 if I use hit collator is some
> number
>
> Can someone explain why? 
>
>
> I am generating my query using query parser
> The field is ANALYZED 
>
>
> Thanks
>
>   


---------------------------------------------------------------------
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