lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Wich way would you recommend for successive-words similarity and scoring ?
Date Wed, 02 Jun 2010 04:17:25 GMT
Hi Pablo,

This question comes up every once in a while.  You'll find some previous discussions and answers
here: http://search-lucene.com/?q=terms+closer+together+score

 Otis
----
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



----- Original Message ----
> From: Pablo <pablo.queixalos@gmail.com>
> To: java-user@lucene.apache.org
> Sent: Mon, May 3, 2010 3:20:10 PM
> Subject: Wich way would you recommend for successive-words similarity and  scoring ?
> 
> Hello,

Lucene core doesn't seems to use relative word positioning (?) for 
> scoring.

For example, indexing that phrase "a b c d e f g h i j k l m n o 
> p q r
s t u v w x y z", these queries give the same results (0.19308087) 
> :
 - 1 : phrase:'e f g'
 - 2 : phrase:'o k z'

I'm a bit familiar 
> with lucene and snowballs, but I never (really)
needed this feature before, 
> and didn't browse the lucene contribs.

Maybe I'm misunderstanding 
> something, but, what can I do to obtain
query 1 get a better score than the 
> second ?

Should I implement a Scorer and or a Similarity, or can an 
> analyser
and a specific stemmer be sufficient?


Thanks, [I first 
> wrote to dev, wasn't the right 
> place.]

Pablo

---------------------------------------------------------------------
To 
> unsubscribe, e-mail: 
> href="mailto:java-user-unsubscribe@lucene.apache.org">java-user-unsubscribe@lucene.apache.org
For 
> additional commands, e-mail: 
> ymailto="mailto:java-user-help@lucene.apache.org" 
> href="mailto:java-user-help@lucene.apache.org">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


Mime
View raw message