[greenstone-devel] Apache Lucene and Greenstone 3.02 with leading wildcard

From Mukesh Kumar
DateFri, 08 Jun 2007 06:16:32 -0000
Subject [greenstone-devel] Apache Lucene and Greenstone 3.02 with leading wildcard
Dear Sir,

Sir i have a problem regarding greenstone 3.02. I am
not able to search the leading wildcard. I am useing
Apache Lucene search engine for making index. Lucene
support the leading wildcar search which is quoted as

Leading wildcards (e.g. *ook) are not supported by the
QueryParser by default. As of Lucene 2.1, they can be
enabled by calling
QueryParser.setAllowLeadingWildcard( true ). Note that
this can be an expensive operation: it requires
scanning the list of tokens in the index in its
entirety to look for those that match the pattern.

I have downloaded Lucene 2.1 src files and javacc.
The all the process define in buld.txt file i have

I have done in query parser directory in
queryparser.jj files. and run ant command and build
the files. but there is not any effects in

Please tell me how and where customize the above
command mention for greenstone.

I shall be very greatfull to this kind.

Thanking you


Mukesh Kumar
Central Secretariat Library
Shastri Bhawan
New Delhi - 110001
email: mukeshcsl@yahoo.co.in

Did you know? You can CHAT without downloading messenger. Click here http://in.messenger.yahoo.com/webmessengerpromo.php