Friday 20 February 2009 2:22:43 am
Hi Jordan,
First, do not forget to check the latest stable version of eZ Find :
* http://ez.no/company/news/ez_systems_releases_apache_solr_based_open_source_enterprise_search_solution_ez_find_2_0
* http://ez.no/doc/extensions/ez_find * http://ez.no/ezfind/download You can use a bunch of Solr query syntax bits in the 'filter' parameter of the fetch function, among them a range search, with finite or unfinite bounds. A code example would be :
fetch( ezfind, search,
hash( query, 'eZ Systems',
filter, array( 'article/rating:[3 TO *]'
)))
This would return all articles containing the words 'ez' and 'systems', for which the rating is higher than 3. You could inverse the filter by using the following syntax in place :
[* TO 4]
I hope it helped, Best Regards,
--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board
eZ Publish Community on twitter: http://twitter.com/ezcommunity
t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye
|