On 5/28/07, Ryan McKinley <[EMAIL PROTECTED]> wrote:
I have an app where I want dismax style automatic field boosting (for
the title), but also want to expose lucene query syntax (phrase, range, etc)
The default search field for my schema is "fulltext". I am copying all
the relevant fields but want "Boston" in the title to be worth more then
"Boston" in the contributor.
If I put:
<copyField source="title" dest="fulltext" />
<copyField source="title" dest="fulltext" />
<copyField source="title" dest="fulltext" />
Does this essentially boost title^3 within the fulltext field?
More or less... it boosts it, but not by 3.
Lucene's DefaultSimilarity uses sqrt(freq) for the tf scoring factor.
-Yonik