Re: QueryParser vs. BooleanQuery

2008-09-04 Thread 叶双明
Indeed, StandardAnalyzer removing the pluses, so analyse 'c++' to 'c'. QueryParser include Term that been analysed. And BooleanQuery include Term that hasn't been analysed. I think this is the difference between they. 2008/9/4 Ian Lea <[EMAIL PROTECTED]> > Have a look at the index with Luke to

Re: QueryParser vs. BooleanQuery

2008-09-04 Thread Ian Lea
Have a look at the index with Luke to see what has actually been indexed. StandardAnalyzer may well be removing the pluses, or you may need to escape them. And watch out for case - Visual != visual in term query land. -- Ian. On Thu, Sep 4, 2008 at 9:46 AM, bogdan71 <[EMAIL PROTECTED]> wrote: