Hello everyone, I stumbled over a problem(?) while using an analyzer with stop word filter and the QueryParser for processing query input:
For each stop word in the query input an EmptyQuery is returned. But EmptyQuery is implemented to generate no matches (find no documents). So if the default boolean operator for the parser is set to AND (and stop words are provided w/o operator) the created query would never generate any matches (or find any documents). For default operator OR the result list would be the same as when the stop words had not been provided. But there might be an influence on score calculations (not quite sure about this). In my opinion the behavior for such cases should be similar to ,e.g., google, where stop words are ignored completely and do not take part in searching. What do you think about this? Greetings, Tino -- View this message in context: http://www.nabble.com/Zend_Search_Lucene---stop-words-and-QueryParser-tf3972943s16154.html#a11277242 Sent from the Zend Framework mailing list archive at Nabble.com.
