FAQ
Hi,
I am using MultiFieldQueryParser to parse query for multiple fields with
custom boosts for each field.
The issue is when one of the terms in the query is fuzzy e.g abc~.
For such a term, the field boost is not applied. If the query is "abc~ xyz"
and fields are f1 & f2 with boosts 10, 5, the parsed query output is:
(f1:abc~0.5 f2:abc~0.5) (f1:xyz^10 f2:xyz^5).
Is there any way to apply the field boost factor to fuzzy terms as well?
Thanks.

--
View this message in context: http://lucene.472066.n3.nabble.com/Boost-a-field-in-fuzzy-query-tp2675402p2675402.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
groupjava-user @
categorieslucene
postedMar 14, '11 at 6:34a
activeMar 14, '11 at 12:04p
posts2
users2
websitelucene.apache.org

2 users in discussion

Chhava40: 1 post Ian Lea: 1 post

People

Translate

site design / logo © 2023 Grokbase