Community day
At the eZ Winter Conference 2010, meet up with the community in Geneva, jan. 21st.
Register and read more here.
At the eZ Winter Conference 2010, meet up with the community in Geneva, jan. 21st.
Register and read more here.
Hi.
Acording to SolrQuerySintax page [1], it's possible to do 'negative queries', so you can fetch something that is not 0 for example.
Is this possible with eZFind? i would like to fetch all the contents of a class filtering by an attribute wich value is not 0.
is really easy to fetch all that are 0, but i don't know how to fetch those wich are not 0.
my code looks like
{def $results = fetch('ezfind', 'search', hash(
'query', $query,
'filter', array('myclass/myattr:0')
))}
how can i change this to fetch those wich myattr value is not 0?
Thanks in advance.
Vote!
Actually, if i use
{def $results = fetch('ezfind', 'search', hash(
'query', $query,
'filter', array('myclass/myattr:[1 TO *])
))}
i get what i want... but still interested on negative queries
.
Vote!
Check out this http://www.stuffandcontent.com/20...ing-negative-filters-to-ez-find.html
Enhancement request & patch http://issues.ez.no/IssueView.php?Id=15617&activeItem=1
My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish
You must be logged in to post messages in this topic.