lucene-java-user mailing list archives

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

> 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 
character?

Dave
-- 
David Warnock, Sundayta Ltd. http://www.sundayta.com
iDocSys for Document Management. VisibleResults for Fundraising.
Development and Hosting of Web Applications and Sites.



---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message