Re: Performance of Prefix, Wildcard and Regex queries?

2016-10-17 Thread Michael McCandless
On Sun, Oct 16, 2016 at 8:54 PM, Trejkaz wrote: > On Sat, Oct 15, 2016 at 1:21 AM, Rajnish Kamboj wrote: >> Hi >> >> Performance of Prefix, Wildcard and Regex queries? >> Does Lucene internally optimizes this (using rewrite or something else) or >> I ha

Re: Performance of Prefix, Wildcard and Regex queries?

2016-10-16 Thread Trejkaz
On Sat, Oct 15, 2016 at 1:21 AM, Rajnish Kamboj 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 pattern. > > Exa

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 is

regex queries

2005-11-12 Thread Erik Hatcher
For a consulting engagement, the client needed the ability to query using regular expressions. I was given permission to contribute it to Lucene and have just committed it to the trunk. This is not revolutionary at all, and is implemented in the same manner that WildcardQuery is implement