You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ahmet Arslan (JIRA)" <ji...@apache.org> on 2014/04/24 18:44:17 UTC
[jira] [Commented] (SOLR-6011) inOrder does not work with the
complexphrase parser
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org