on 6/7/01 4:21 PM, "Tal Dayan" <[EMAIL PROTECTED]> wrote:

> Example:
> 
>  +dogs +will +rock
> 
> the analyzer modified the tokens as follows:
> 
>  dogs ->  dog              // porter filter
>  will ->  (empty)          // stop filter
>  rock ->  music, stone     // multi alias filter
> 
> Then you construct the query
> 
>  +(dog) +()  +(music OR stone)
> 
> which is reduced (according to the 'basic' aproach above) to
> 
> +dog +(music OR stone)

Seems like skipping the +() all together would be easiest. Have the analyzer
just drop the "will" token. That way, the 'basic' approach won't even have
to deal with filtering out +()

-jon

-- 
"Open source is not available to commercial companies."
            -Steve Balmer, CEO Microsoft
<http://www.suntimes.com/output/tech/cst-fin-micro01.html>


_______________________________________________
Lucene-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/lucene-dev

Reply via email to