[ https://issues.apache.org/jira/browse/SOLR-6479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14183017#comment-14183017 ]
Pierre Salagnac commented on SOLR-6479: --------------------------------------- [~janhoy], You already integrated patch in this code. Would you have time to have a look at this patch? Thanks > ExtendedDismax does not recognize operators followed by a parenthesis without > space > ----------------------------------------------------------------------------------- > > Key: SOLR-6479 > URL: https://issues.apache.org/jira/browse/SOLR-6479 > Project: Solr > Issue Type: Bug > Components: query parsers > Affects Versions: 4.9 > Environment: Java 7 > Linux > Reporter: Pierre Salagnac > Priority: Minor > Labels: patch > Attachments: SOLR-6479.patch > > > Before doing through the syntax parser, edismax does a pre-analysis of the > query to applies some parameters, like whether lower case operators are > recognized. > This basic analysis in {{splitIntoClauses()}} pseudo-tokenizes the query > string on whitespaces. An operator directly followed by a parenthesis is not > recognized because only one token is created. > {code} > foo AND (bar) -> foo ; AND ; (bar) > foo AND(bar) -> foo ; AND(bar) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org