I think your looking at a limitation of using the "fulltext" approach.
You are also loosing the boosting you would get for matching on shorter
fields. Sometimes you just have to give in and query across all fields
or take the compromise..Lucene does not have a concept of "meta-fields"
within fields that I know of.
- Mark
wojtek hury wrote:
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.
wojtek
On 5/31/07, Donna L Gresh <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]