Re: Modifying norms...

2007-05-01 Thread Chris Hostetter
: Essentially what I am trying to do is boost every document by a certain : factor, so that : the boost is between 1.0 and 2.0. After this, I we are trying to do a search : across multiple fields : and have a computation based purely on tf. Example - it sounds like you are trying to place too muc

Re: Modifying norms...

2007-04-30 Thread escher2k
OTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Modifying-norms...-tf3671499.html#a10263146 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]

Re: Modifying norms...

2007-04-30 Thread Chris Hostetter
: Thanks Hoss. Suppose, I go ahead and modify Similarity.java from ... : Should this work ? it depends on your definition of "work" ... if that code is what you want it to do, then yes: it will do what you want it to do. : P.S. This is a very custom implementation. For the specific probl

Re: Modifying norms...

2007-04-30 Thread escher2k
: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Modifying-norms...-tf3671499.html#a10262494 Sent from the Lucene - Java Users mailing list archive at Nabble.com. ---

Re: Modifying norms...

2007-04-30 Thread Chris Hostetter
: I want to modify the norms to only include values between 0 and 100. : Currently, I have a custom implementation of the default similarity. Is it : sufficient to override the encodeNorm and decodeNorm methods from the base : implementation in my custom Similarity class ? Please let me know if th

Modifying norms...

2007-04-30 Thread escher2k
any performance implications to this. -- View this message in context: http://www.nabble.com/Modifying-norms...-tf3671499.html#a10259327 Sent from the Lucene - Java Users mailing list archive at Nabble.com. - To unsubscribe, e