Return-Path: Mailing-List: contact lucene-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list lucene-dev@jakarta.apache.org Received: (qmail 62047 invoked from network); 8 Sep 2003 13:50:10 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 8 Sep 2003 13:50:10 -0000 Received: (qmail 12640 invoked by uid 50); 8 Sep 2003 13:52:56 -0000 Date: 8 Sep 2003 13:52:56 -0000 Message-ID: <20030908135256.12639.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: lucene-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 22987] New: - QueryParser not working on trivial query X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22987 QueryParser not working on trivial query Summary: QueryParser not working on trivial query Product: Lucene Version: CVS Nightly - Specify date in submission Platform: PC OS/Version: Linux Status: NEW Severity: Normal Priority: Other Component: QueryParser AssignedTo: lucene-dev@jakarta.apache.org ReportedBy: pifpafpuf@gmx.de This happens with lucene-20030906. Running java LucQuery /dir/to/index 'FNID:200' I get not output. Enhancing this to java LucQuery /dir/to/index 'FNID:200*' I get the following output: Document Keyword> The output is generated by this: public class LucQuery { public static void main(String[] argv) throws IOException,ParseException { IndexSearcher search = new IndexSearcher(argv[0]); Query p = QueryParser.parse(argv[1], "body", new SimpleAnalyzer()); Hits h = search.search(p); for(int i=0; i