Hi Andrew,
Query parser has some inconsistencies in stop words processing
(http://framework.zend.com/issues/browse/ZF-1624).
I am working on it right now and have just attached your comment to the
issue.
Thank you very much for your comments!
With best regards,
Alexander Veremyev.
Andrew Craft wrote:
Hi,
We are implementing a stop word list and we have noticed an odd bit of
behaviour when doing searches and the order of stop words in the query.
Currenlty these are the stop words:
$stopWords = array('the', 'and', 'a', 'to', 'of', 'in',
'i', 'is', 'that', 'it', 'on', 'you',
'this', 'for', 'but', 'with', 'are',
'have', 'be', 'at', 'or', 'as', 'was',
'so', 'if', 'out', 'not');
If we do a query like: "it is this" it returns no results.
If we do a query like: "this is it" we get results.
I am just wondering if this is proper behaviour for the stop words and
searching?
TIA,
Andrew