You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Parmeet Singh Sachdeva (JIRA)" <ji...@apache.org> on 2017/05/18 10:22:04 UTC

[jira] [Created] (LUCENE-7836) Multiple Token Regex Search Not working

Parmeet Singh Sachdeva created LUCENE-7836:
----------------------------------------------

             Summary: Multiple Token Regex Search Not working
                 Key: LUCENE-7836
                 URL: https://issues.apache.org/jira/browse/LUCENE-7836
             Project: Lucene - Core
          Issue Type: Bug
         Environment: Linux(Centos)
            Reporter: Parmeet Singh Sachdeva
            Priority: Blocker


I am able to search for a regex query like H[a-z]llo but I am not able to search for a regex query like H[a-z]llo Wor[a-z]d even though I have "Hello World" in my source tree. I am not able to search multi-word regex queries.


I am using OpenGrok which is, in turn, using org.apache.lucene.search.RegexpQuery class of Lucene 6.5.0 which extends AutomatonQuery.

I have indexed the data based on whitespace tokenization.





--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org