eZ Community » Forums » Developer » ezfind can't use solr function (frange)
expandshrink

ezfind can't use solr function (frange)

ezfind can't use solr function (frange)

Tuesday 13 March 2012 6:14:55 pm - 1 reply

Hi,

I tried to use "frange" function. This filter query function can create a range query over a function.

I try to return all points less than 20km from another point. but ez find doesn't accept "{".

For the moment my query is :

_val_:"geodist(subattr_multidatesevent___coordinates____gpt,47.394144,0.68484)"

and i tried to add in my filter query something like:

array('_val_:"frange(0,20)"')

without success !

and geofilt function doesn't work too. can you help me ?

solR 3.1 - eZ 2011.9 - eZfind 2.5.0-dev

Wednesday 14 March 2012 9:25:33 am

Hi,

I had a similar thing to do for a client of ours and updated ezfind to make it work. I opened a pull request but eZ crew asked for changes I still haven't had time to make.

Anyway, my current implementation can be found at https://github.com/Heliopsis-HQ/ezfind/tree/customqueryparams and the pull request contains a short explanation : https://github.com/ezsystems/ezfind/pull/18

 

Hope it helps

 

Ben

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from