[ 
https://issues.apache.org/jira/browse/SOLR-6011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley updated SOLR-6011:
-------------------------------

    Attachment: SOLR-6011.patch

Here's a test that fails.

I changed the testcase to not use separate schema / solrconfig files (it's 
crazy to add extra files for this).  It was also necessary to switch to a stock 
solrconfig to reproduce the bugs I was seeing.

After a quick look, it looks like hashCode / equals are not implemented 
correctly (they do not take into account inOrder) and hence the query cache can 
return incorrect results.

I'll work on a fix.

> inOrder does not work with the complexphrase parser
> ---------------------------------------------------
>
>                 Key: SOLR-6011
>                 URL: https://issues.apache.org/jira/browse/SOLR-6011
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Yonik Seeley
>            Priority: Critical
>         Attachments: SOLR-6011.patch
>
>
> {code}
> {!complexphrase}"vol* high*"
> does not match the Solr document containing "... high volume web ..." (this 
> is correct)
> But adding inOrder=false still fails to make it match.
> {!complexphrase inOrder=false}"vol* high*"
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to