lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: WhitespaceTokenizer and scoring(field length)
Date Tue, 26 Apr 2011 18:00:37 GMT
First, you can give us some more data to work with <G>...

In particular, attach &debugQuery=on to your http request and post
the results. That will show how the documents got their score.

Also, show us the <fieldType> definition and <field> definition for the field
in question.

Best
Erick

On Tue, Apr 26, 2011 at 10:27 AM, roySolr <royrutten1989@gmail.com> wrote:
> 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