[prev in list] [next in list] [prev in thread] [next in thread]
List: lucene-dev
Subject: Re: Wildcard Prefix
From: Brian Goetz <brian () quiotix ! com>
Date: 2004-06-16 8:52:34
Message-ID: 40D00A52.9000502 () quiotix ! com
[Download RAW message or body]
> 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: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic