Re: [CLucene-dev] Using CLucene to implement XQuery full-text search

2010-01-05 Thread Itamar Syn-Hershko
tation. Itamar. -Original Message- From: Paul J. Lucas [mailto:p...@lucasmail.org] Sent: Tuesday, January 05, 2010 10:28 PM To: clucene-developers@lists.sourceforge.net Subject: Re: [CLucene-dev] Using CLucene to implement XQuery full-text search No, I do not mean parsing a query string. Ther

Re: [CLucene-dev] Using CLucene to implement XQuery full-text search

2010-01-05 Thread Paul J. Lucas
No, I do not mean parsing a query string. There is a separate parser that parses the full XQuery language of which full-text searching is a small part. The parser builds an AST. It will then be my job to walk the AST and look for full-text query nodes. I then convert those into a Query objec

Re: [CLucene-dev] Using CLucene to implement XQuery full-text search

2010-01-05 Thread Itamar Syn-Hershko
Hi Paul, What do you mean by that? CLucene should be handed with a Query object to perform a search, which could then be filtered using a Filter object (this to allow for more complex searches). Producing a Query object from a plain-text string is done by using a QueryParser; a default one comes