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.


More specifically, QueryParser is often used in applications where the query string will have been typed into a web form by a user. You don't want a naive user (or a typo) to take down your application.) Queries constructed by by the query API are less likely to be "accidental."



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



Reply via email to