lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: WhitespaceTokenizer and scoring(field length)
Date Tue, 26 Apr 2011 20:46:03 GMT
Hi,

If you run your query with debugQuery=true you will see the explanation about 
how Lucene/Solr went about scoring your 2 docs.  If you can't figure out what's 
going on from there, send the relevant part to the list, along with the parsed 
query (which you can also see from debugQuery=true output) and maybe we can 
help.

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



----- Original Message ----
> From: roySolr <royrutten1989@gmail.com>
> To: solr-user@lucene.apache.org
> Sent: Tue, April 26, 2011 10:27:44 AM
> Subject: WhitespaceTokenizer and scoring(field length)
> 
> Hello,
> 
> I have a problem with the whitespaceTokenizer and scoring. An  example:
> 
> id                      Titel
> 1                       Manchester united
> 2                       Manchester
> 
> With the  whitespaceTokenizer "Manchester united" will be splitted to
> "Manchester" and  "united". When
> i search for "manchester" i get id 1 and 2 in my results. What  i want is
> that id 2 scores higher(field length).
> How can i fix  this?
> 
> 
> --
> View this message in context: 
>http://lucene.472066.n3.nabble.com/WhitespaceTokenizer-and-scoring-field-length-tp2865784p2865784.html
>
> Sent  from the Solr - User mailing list archive at Nabble.com.
> 

Mime
View raw message