Re: Performance of Prefix, Wildcard and Regex queries?

2016-10-17 Thread Michael McCandless
On Sun, Oct 16, 2016 at 8:54 PM, Trejkaz <trej...@trypticon.org> wrote: > On Sat, Oct 15, 2016 at 1:21 AM, Rajnish Kamboj <rajnis...@gmail.com> wrote: >> Hi >> >> Performance of Prefix, Wildcard and Regex queries? >> Does Lucene internally optimizes this (using

Re: Performance of Prefix, Wildcard and Regex queries?

2016-10-16 Thread Trejkaz
On Sat, Oct 15, 2016 at 1:21 AM, Rajnish Kamboj <rajnis...@gmail.com> wrote: > Hi > > Performance of Prefix, Wildcard and Regex queries? > Does Lucene internally optimizes this (using rewrite or something else) or > I have to manually create specific queries depending on input

Performance of Prefix, Wildcard and Regex queries?

2016-10-14 Thread Rajnish Kamboj
Hi Performance of Prefix, Wildcard and Regex queries? Does Lucene internally optimizes this (using rewrite or something else) or I have to manually create specific queries depending on input pattern. Example if input is 78* create Prefix query if input is 87?98* create Wildcard query if input