Hi-

let's say you have two indexed fields, "F1" and "F2".  F1 uses the 
StandardAnalyzer, while F2 doesn't.  Now imagine you index a document where you 
have

F1="A & B"

F2="C + D"

Now imagine you run a query:

(F1:A OR F2:A) AND (F1:B OR F2:B)

in other words, both "A" and "B" must exist in at least one of F1 or F2.  This  
returns the document in question.  Now imagine you run another query:

(F1:A OR F2:A) AND (F1:& OR F2:&)

Since "&" is removed by the StandardAnalyzer, the parsed query looks like

(F1:A OR F2:A) AND (F2:&)

Now you don't match the document.  Is this a bug?

Thanks!
-Ken

Reply via email to