U can also add the boosting to the field at indextime.
For example <field name="lastname" boost="3.0">foobar</field> And then u can do the query firstname:foobar OR lastname:foobar The above query will then boost the documents where foobar is in the lastname Hope this helps, Thierry On 24/07/07, Brian Whitman <[EMAIL PROTECTED]> wrote:
> Jul 24, 2007, at 9:42 AM, Alessandro Ferrucci wrote: >> is there a way to boost a field much like is done in dismax request >> handler? I've tried doing index-time boosting by providing the >> boost to the >> field as an attribute in the add doc but that did nothing to >> affect the >> score when I went to search. I do not want to use dismax since I >> also want >> wildcard patterns supported. What I'd like to do is provide >> boosting of a >> last-name field when I do a search. something not like: firstname:alessandro lastname:ferrucci^5 ?