John Seer wrote: > > Hello, > > Is there any benefit of using one or other for "start with query"? > > Which one is faster? > > > Regards >
It seems that you've answered your own question. If you want a "start with query", this is exactly what a PrefixQuery is for. WildcardQuery gives you more flexibility, but if you don't need it, then PrefixQuery should get the job done. -- View this message in context: http://www.nabble.com/PrefixQuery-vs-wildcardquery-tp25649045p25649399.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org