lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Krugler <>
Subject Re: boosting different parts of the same field
Date Thu, 31 May 2007 19:21:43 GMT
>This is issue with a field (let's call it "fulltext") containing all other
>fields' values (to perform "search in all" query). Still, while performing
>"search in all" I would like to boost some parts of this "fulltext" field.

One way I do this in Solr (where you can easily specify this type of 
combo field) is to add the field I want to boost multiple times. It's 
very course granularity, but it works.

See a discussion of this recently on the Solr mailing list.

-- Ken

>On 5/31/07, Donna L Gresh <> wrote:
>>>Is there a way of boosting only fragment of the field? Let's say that I
>>>a title and short description of something which I want to index into
>>>"myfield" field - is there a way of boosting title as more important for
>>>scoring than description? I thought that maybe something like below would
>>maybe this is a silly question but why not create a title field and a
>>description field and
>>boost them separately?
>>Donna L. Gresh
>>Services Research, Mathematical Sciences Department
>>IBM T.J. Watson Research Center
>>(914) 945-2472

Ken Krugler
Krugle, Inc.
+1 530-210-6378
"Find Code, Find Answers"

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message