Re: Modifying score based on tf and slop

2009-07-13 Thread Rads2029
if this is the correct way to go about this Rads2029 wrote: > > Hi all, > > All I have is a query running on a document with a single field which > has some search value. This is all which will be present. > No more documents / fields. > > I have the following spec

Re: Modifying score based on tf and slop

2009-07-06 Thread Rads2029
Thanks , That helped clear quite a few things. A few questions though : 1) Regarding tf not making a difference : I do believe that override tf to return 1 makes a difference. When I did not override tf the score on doc(AB BC BC CD) was higher on doc ( AB BC CD) When I did not override tf the s

Re: Modifying score based on tf and slop

2009-06-30 Thread Rads2029
Restarting this thread. I did try out the soln mentioned by Simon below, however that did not work. As changing the tf implementation to return 1, adversely affected by span scoring . ie, the slop distance does not affect score if i make tf as 1. I had found a work around in some other way, but

Re: Proximity and Percentage match search in Lucene

2009-04-21 Thread Rads2029
Hi all, does anybody have a solution to the below query? regards, radha Rads2029 wrote: > > What I need is the following : > If my document field is ( ab,bc,cd,ef) and Search tokens are (ab,bc,cd). > > Given the following : > I should get a hit even if all of the se