Re: two problems of using the lucene.

2006-02-06 Thread Erik Hatcher
On Feb 6, 2006, at 1:37 AM, jason wrote: The source code of the Queryparser.java is hard to read. Look at QueryParser.jj instead. QueryParser.java is generated using JavaCC and is thus not "source" code at all. Erik ---

Re: two problems of using the lucene.

2006-02-05 Thread jason
Hi, I try to read the source code of the lucene. But i only find in the TermScorer.java where the tf/idf measure is really implemented. I guess that whether the Queryparser class will convert each word into a termquery first. Then, queries such as the the Booleanquery are built. The source code o