Forums / Extensions / eZ Find / Problem with ezfind filter in search
H-Works Agency
Friday 29 October 2010 2:54:38 am
Hello everyone,
I am still having a problem with ezfind on ezstring attribute. This time its not on facet value display but on facet filter results :
When i filter on a facet results are totally wrong caused by partial word search.
For exemple if i filter on "house music (50)" it will return every results containing "house" OR "music" leading to an unexpected number of results. How can this be avoided ?
If i quote the whole string it seems to work but is this the right move ?
Do i have to change DefaultSearchHandler or do i have to change the DataMapFilter['ezstring'] ? If yes to what value ?
Thanx in advance for any help.
EZP is Great
Paul Borgermans
Sunday 31 October 2010 1:07:19 pm
Indeed, you have to quote the string for the filter to behave corresponding to the facet counts
The default search handler does not relate to the filter queries, its always the Solr "standard" search handler for now .. which is very powerful (not only booleans, but also the full set of function queries, see http://wiki.apache.org/solr/SolrQuerySyntax for a start).
hth
Paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans