Re: Dismax + spatial constraints

2011-06-23 Thread kaiserwaseem
i am using dismax to boost my field as placeName^1.8 schemeName^1.5 text^1.0, now I also want to boost my results with respect to distance to show closest areas first, i sort it with geodist but it show irrelevant results on top, i also tried q={!boost b=recip(geodist(50.1, -0.86, myGeoField), 1,

Re: Dismax + spatial constraints

2011-05-24 Thread Smiley, David W.
Yes. "fq" (filter queries) are independent of the user's query in "q". On May 24, 2011, at 10:58 AM, Jamie Johnson wrote: > ok, so anything that goes in q would then be used for dismax but anything > else could go into fq (or multiple fqs) to apply different criteria in > addition then correct? >

Re: Dismax + spatial constraints

2011-05-24 Thread Jamie Johnson
ok, so anything that goes in q would then be used for dismax but anything else could go into fq (or multiple fqs) to apply different criteria in addition then correct? On Tue, May 24, 2011 at 9:43 AM, Smiley, David W. wrote: > Hi Jamie. > > You can definitely use dismax & geospatial; these are u

Re: Dismax + spatial constraints

2011-05-24 Thread Smiley, David W.
Hi Jamie. You can definitely use dismax & geospatial; these are unrelated. Use defType=dismax to get dismax and then use an appropriate geospatial filter like fq={!bbox}&sfield=store&pt=45.15,-93.85&d=5 For temporal based constraints, add a temporal filter query: fq=timestamp:[NOW-1MONTH TO N