lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Krugler <kkrugler_li...@transpac.com>
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

>wojtek
>
>On 5/31/07, Donna L Gresh <gresh@us.ibm.com> wrote:
>>
>>>Is there a way of boosting only fragment of the field? Let's say that I
>>have
>>>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
>>>work
>>
>>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
>>http://www.research.ibm.com/people/g/donnagresh
>>gresh@us.ibm.com


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

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