BackupGGCode / dataparksearch

An open source search engine for Internet and Intranet sites
GNU General Public License v2.0
1 stars 2 forks source link

Incorrect results: "(expression1) AND NOT (expression2)" #15

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Occasionally queries of the pattern : 
"expression1 AND NOT expression2" 
give incorrect results for complex expressions.

All versions of dpsearch upto 4.53 snapshots.

Gut feeling is that the parser fails and treats AND or NOT as regular words
rather than as the boolean operators in some situation.

Original issue reported on code.google.com by amitshar...@gmail.com on 15 Jun 2009 at 4:55

GoogleCodeExporter commented 9 years ago

Original comment by dp.max...@gmail.com on 17 Jun 2009 at 5:30

GoogleCodeExporter commented 9 years ago
The parser treats AND and NOT (and any other operator name) as a regular words 
when
they are enclosed by single (') or double (") quotes. Could you, please provide 
some
examples of requests that been treated incorrectly ?

Original comment by dp.max...@gmail.com on 1 Jul 2009 at 5:40