Hi Yonik, We dont prohibit anything. If the field type/field has norms omitted (which is the default for those fields), applying a boost will never work. That's all.
Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: [email protected] > -----Original Message----- > From: [email protected] [mailto:[email protected]] On Behalf Of Yonik > Seeley > Sent: Friday, February 17, 2012 4:58 PM > To: [email protected] > Subject: Re: [jira] [Commented] (LUCENE-3796) Disallow setBoost() on > StringField, throw exception if boosts are set if norms are omitted > > On Fri, Feb 17, 2012 at 5:50 AM, Uwe Schindler <[email protected]> wrote: > > Index time boost is not applied, because e.g. NumericRangeQuery is a > > ConstantScoreQuery. > > Someone could add boosts to these fields and use term queries though. > I've seen it done in the past, and there's not a good reason to prohibit that. > > -Yonik > lucidimagination.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] For additional > commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
