Trying to avoid filtering on score, as I'm told that's bad

2012-06-27 Thread mcb
I have a function query that returns miles as a score along two points: q={!func}sub(sum(geodist(OriginCoordinates,39,-105),geodist(DestinationCoordinates,36,-97),Mileage),1000) The issue that I'm having now now my results give me a list of scores: *score:10.1 (mi) score: 20 (mi) score: 75 (mi) *

Re: Trying to avoid filtering on score, as I'm told that's bad

2012-06-29 Thread mcb
Thanks, this worked using: &qq={!func}sub(sum(geodist(pt1,30.271567,-97.741886),geodist(pt2,36.054889,-95.716187),product(1.609344, Dist)), 1000) asc &sort=$qq &fq={!frange u=100}$qq -- View this message in context: http://lucene.472066.n3.nabble.com/Trying-to-avoid-filtering-on-score-as-I-m-

How to space between spatial search results? (Declustering)

2012-07-02 Thread mcb
I have a classic spatial search schema in solr with a lat_long field. Is there way to do a bounding-box type search that will pull back results that are uniformly distributed so their isn't the case of 10 pins being on top of each other? Ie, if I have a 100-mile box, not result will return within 5