Re: CompiledAutomaton performance issue

2017-12-18 Thread Poppe, Thomas (IP)
r 2017 at 14:19 To: Lucene Users <java-user@lucene.apache.org>, "Poppe, Thomas (IP)" <thomas.po...@clarivate.com> Subject: Re: CompiledAutomaton performance issue This is just an optimization; maybe we should expose an option to disable it? Or maybe we can find the com

Re: CompiledAutomaton performance issue

2017-12-17 Thread Michael McCandless
This is just an optimization; maybe we should expose an option to disable it? Or maybe we can find the common suffix on an NFA instead, to avoid determinization? Can you open a Jira issue so we can discuss options? Thanks, Mike McCandless http://blog.mikemccandless.com On Fri, Dec 15, 2017

CompiledAutomaton performance issue

2017-12-15 Thread Poppe, Thomas (IP)
Hello, We're using the automaton package as part of Elasticsearch for doing regexp queries. Our business requires us to process rather complex regular expressions, for example (we have more complex examples, but this one illustrates the problem):