RE: IndexSearcher.search Behavior

2009-08-17 Thread Chris Adams
have been. Thanks again. -Original Message- From: Mark Miller [mailto:markrmil...@gmail.com] Sent: Monday, August 17, 2009 9:09 AM To: java-user@lucene.apache.org Subject: Re: IndexSearcher.search Behavior Unfortunately, many Query's toString output is not actually parsable by Q

Re: IndexSearcher.search Behavior

2009-08-17 Thread Mark Miller
Unfortunately, many Query's toString output is not actually parsable by QueryParser (though some are). If you look at the result Query object that gets built from the toString output, its likely different than the BooleanQuery you are putting together. -- - Mark http://www.lucidimagination.

IndexSearcher.search Behavior

2009-08-17 Thread Chris Adams
I'm not extremely familiar with Lucene, so I am confused at why the following behavior is happening: When I build up a BooleanQuery using the Lucene objects (combination of RangeQueries, TermQuery, etc.) I am getting a different result than when I do a QueryParser.parse(queryString). The Boolea