John Seer wrote: > Hello, > > Is there any benefit of using one or other for "start with query"? > > Which one is faster? > > > Regards > Prefix query is a bit more efficient - not sure what it turns into realworld, but prefix just checks if the term's start with the prefix - wildcard has a bit more complicated check to do (there could be a wildcard anywhere in the term that must be checked for). I'd be surprised if it was a huge difference, but if there are a lot of terms to check, it could.
-- - Mark http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org