[
https://issues.apache.org/jira/browse/SOLR-6011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13979944#comment-13979944
]
Ahmet Arslan commented on SOLR-6011:
------------------------------------
{code}
{!complexphrase df=manu inOrder=true}"high* vol*"
{code}
is explained as
{code}
weight(spanNear([spanOr([manu:high]), spanOr([manu:volume])], 0, true) in 31)
{code}
and
{code}
{!complexphrase df=manu inOrder=false}"high* vol*"
{code}
is explained as
{code}
weight(spanNear([spanOr([manu:high]), spanOr([manu:volume])], 0, false) in 31)
{code}
It looks like local param {{inOrder}} is correctly propagated to constructor of
{{SpanNearQuery}}. However both queries return the following example document.
{code:xml}
<doc>
<field name="id">100-435805</field>
<field name="manu">high volume web</field>
</doc>
{code}
On the other hand
{code}
{!complexphrase df=manu inOrder=true}"vol* high*"
{code}
and
{code}
{!complexphrase df=manu inOrder=true}"vol* high*"
{code}
do not return example document. Weird...
> 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
>
> {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]