Based on responses from Steven Rowe <[EMAIL PROTECTED]> and Mark Miller <
[EMAIL PROTECTED]>:

Lucene uses a scoring system that behaves similarly to a boolean system.
... more information in the October 2006 thread
"QueryParser is Badly 
Broken<http://www.gossamer-threads.com/lists/lucene/java-user/40945>
"


This is now my generalized understanding of the parser's operators.  Am I
closer?


*Document*

A OR B

A B

+A B

A

NOT B

-B

A AND NOT B

A –B

*No Matching Terms*

0

0

0

0

1

0

0

0

A

1

1

1

1

1

0

1

1

B

1

1

0

0

0

0

0

*0*

A B

1

2

2

1

0

0

0

1* 0*
 Non-zero results are returned to the user.               *Walt Stoneburner
<[EMAIL PROTECTED]>   10-Jan-2007   v1.0*

-wls

Reply via email to