AW: QueryParser explicit and implicit search operator

2007-02-19 Thread Karimi-Tabatabaie Jamal
Hello Erik, You gave me the clue! I had a toLowerCase on the query. I was in the hard believe that I did not program such things, as I knew the side effect. Thanks alot for your boths help and sorry for the trouble. Mea culpa! Regards, Jamal -Ursprüngliche Nachricht- Von: Erick Erick

Re: AW: QueryParser explicit and implicit search operator

2007-02-19 Thread Erik Hatcher
On Feb 19, 2007, at 10:32 AM, Karimi-Tabatabaie Jamal wrote: That means that last query "Lucene OR Query" must be parsed correct to "Lucene query" with the OR operator while default operator is set to AND. Right? But in my implementation with default operator set to AND the query 'Hare O

AW: QueryParser explicit and implicit search operator

2007-02-19 Thread Karimi-Tabatabaie Jamal
Exactly. That means that last query "Lucene OR Query" must be parsed correct to "Lucene query" with the OR operator while default operator is set to AND. Right? But in my implementation with default operator set to AND the query 'Hare OR Tortoise' is parsed to 'Hare AND Tortoise'! Regards, J

Re: AW: QueryParser explicit and implicit search operator

2007-02-19 Thread Erik Hatcher
On Feb 19, 2007, at 8:26 AM, Karimi-Tabatabaie Jamal wrote: You are right for a little complex query. I tested the following queries serach at lucenebool.com with query "Query" 155 results serach at lucenebool.com with query "Lucene" 270 results serach at lucenebool.com with query "Query AND

AW: QueryParser explicit and implicit search operator

2007-02-19 Thread Karimi-Tabatabaie Jamal
Hello Erik, You are right for a little complex query. I tested the following queries serach at lucenebool.com with query "Query" 155 results serach at lucenebool.com with query "Lucene" 270 results serach at lucenebool.com with query "Query AND Lucene" 109 results serach at lucenebool.com with