On Jun 15, 2004, at 8:17 PM, Nalin Mittal wrote:
Does anyone have some sample code that implements the Wildcard Prefix
functionality so that a search like ‘*ucene’ could be executed?

WildcardQuery (via the API, not QueryParser) allows '*ucene' syntax.

Why doesn't QueryParser allow this? Because it is a very inefficient and potentially performance killing type of query. Lucene must navigate *every* term in the index in order to find what matches.

        Erik



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to