Re: PrefixQuery vs wildcardquery

2009-09-28 Thread Simon Willnauer
; 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

Re: PrefixQuery vs wildcardquery

2009-09-28 Thread Mark Miller
u'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

Re: PrefixQuery vs wildcardquery

2009-09-28 Thread Simon Willnauer
wn 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/P

Re: PrefixQuery vs wildcardquery

2009-09-28 Thread entdeveloper
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 fro

Re: PrefixQuery vs wildcardquery

2009-09-28 Thread Mark Miller
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 bi

PrefixQuery vs wildcardquery

2009-09-28 Thread John Seer
Hello, Is there any benefit of using one or other for "start with query"? Regards -- View this message in context: http://www.nabble.com/PrefixQuery-vs-wildcardquery-tp25649045p25649045.html Sent from the Lucene - Java Users mailing list archive at