Hi Tino,

Just fixed this.
Take current SVN version or wait for the nearest nightly snapshot.

With best regards,
   Alexander Veremyev.

Alexander Veremyev wrote:
Hi Tino,

You are right. That should be modified. I just created an issue for this (http://framework.zend.com/issues/browse/ZF-1624).

Thanks!

With best regards,
   Alexander Veremyev.

Tino Winkler wrote:
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



Reply via email to