lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hackl, Rene" <Rene.Ha...@FIZ-Karlsruhe.DE>
Subject Re: Can use Lucene be used for this
Date Thu, 13 Nov 2003 12:16:54 GMT
>> documents contain very long strings for chemical substances, users are
>> interested in certain parts of the string e.g. find all documents that
>> comprise "*foo*" be it "1-foo-bar" or "rab-oof-13-foonyl-naphthalene").

> So you're saying you want users to be able to search for "of-13" and 
> match that second one?  User's really are demanding that?

Yes and yes. Users range from Information Professionals to "naive" end
If there's a string like "N-(t-Butyl)-N-(3,5-dinitrobenzoyl)-nitroxyl" users
can be expected to search for "dinitro", "3,5-dinitro", "nitrobenz" etc.

There are also sequences of amino acids or DNA that users might want to

> But, keep in mind that WildcardQuery itself does support "*oo*" and it 
> would work as expected (although with the performance caveat if the 
> index is huge).  If you want QueryParser to support a leading wildcard 
> character, you would have to customize it yourself.

That's what I have been pondering about the whole morning and I'm going to
it a try. As far as I have tested, Lucene carries out these queries far
than your average relational DB text retrieval tool :-)

Thanks a lot for your comments!

Best regards,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message