Re: Boost a field in fuzzy query

2011-03-14 Thread Ian Lea
You could build the query up in your program, or that part of it anyway. BooleanQuery bq = new BooleanQuery(); FuzzyQuery fq = new FuzzyQuery(...); fq.setBoost(123f); bq.add(fq); ... This might be a bug in MultiFieldQueryParser - you could provide a test case or, better, a patch. See https://issu

Boost a field in fuzzy query

2011-03-13 Thread chhava40
sts 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