Re: Boosting a token in the query

2006-03-29 Thread Erik Hatcher
Unfortunately I'm not sure what boosting capabilities were available in 1.2, but that syntax is correct for the 1.4+ at least. And I'm sure the Explanation feature is not available in 1.2, but with more recent versions of Lucene you'd be able to see the effect of the boosts on the score.

Boosting a token in the query

2006-03-29 Thread Madhusudan, Veda \(Norcross, DAV\)
Is there a way to boost a token while querying? Example, in the following query +(DESC:sheets DESC:sheet), can the token 'sheets' be boosted and given higher precedence over 'sheet' so the results matching 'sheets ' appear before those for 'sheet'? I am using lucene 1.2. I tried using the boost fac