At 03:26 PM 04/01/01 -0700, David Wood wrote:
>Hi Bill,
>
>I guess I would have assumed
>
>-w 'keywords=(blah) and (not blah)'
>
>but I certainly could agree that the parenless version is
>ambiguous. However, whichever way it's parsed, 2.0.5 still shouldn't be
>bringing back any results, should it?
The parser needs work. (If you looked at that cvs archive you would see
this is a current topic!) Check this out:
> ../src/swish-e -w 'keywords=(blah and not sksk)'
# SWISH format: 2.1-dev-20
# Search words: keywords=(blah and not sksk)
# Parsed Words: keywords = ( blah and sksk ) <<<<
#
err: no results
..
lii@mardy:~/swish-e/tests > ../src/swish-e -w 'keywords=(blah not sksk)' -H 4
# SWISH format: 2.1-dev-20
# Search words: keywords=(blah not sksk)
# Parsed Words: keywords = ( blah not sksk )
# Number of hits: 1
# Search time: 0.000 seconds
# Run time: 0.006 seconds
1000 z.html "z.html" 93
..
Stay tuned...
Bill Moseley
mailto:moseley@hank.org
Received on Sun Apr 1 23:00:02 2001