lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Warnock <>
Subject Re: Wildcard workaround
Date Wed, 28 May 2003 15:58:50 GMT

> You can also index the file names with a leading character. For instance
> index "file1.exe" will be indexed as "_file1.exe" and always add the
> leading character to the search term.
> So if the user input is "*.exe" your query should be "_*.exe" and if the
> user input "fi*" you'll change it to "_fi*"

Now that is a much neater solution than mine. Does this cause problems 
with unbalanced indexes or anything as all terms begin with the same 

David Warnock, Sundayta Ltd.
iDocSys for Document Management. VisibleResults for Fundraising.
Development and Hosting of Web Applications and Sites.

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

View raw message