In Lucene i am using custom scoring by overriding the custom score provider. Now what i want to achieve is that to my regular boolean query i want to add a distance filter which gives only those documents which are within a certain distance from the user lat long. First, how do put the distance filter to my regular boolean query? Second, would it be possible to get those distances in my custom scoring function as well or i need to calculate the distance again?
-- View this message in context: http://lucene.472066.n3.nabble.com/Filter-By-Distance-and-get-the-Distance-tp4313844.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org