You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Simon Svensson (JIRA)" <ji...@apache.org> on 2019/01/22 05:05:00 UTC

[jira] [Closed] (LUCENENET-597) SpanNearQuery: Wrong formatting in ToString()

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

Simon Svensson closed LUCENENET-597.
------------------------------------
    Resolution: Fixed

This was fixed in de4032a

> SpanNearQuery: Wrong formatting in ToString()
> ---------------------------------------------
>
>                 Key: LUCENENET-597
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-597
>             Project: Lucene.Net
>          Issue Type: Bug
>    Affects Versions: Lucene.Net 4.8.0
>            Reporter: Matthias Rauch
>            Assignee: Simon Svensson
>            Priority: Minor
>
> When I run the following code:
> {code:csharp}
>       var clauses = new[] { new SpanTermQuery (new Term ("f", "lucene")), new SpanTermQuery (new Term("f", "net")), new SpanTermQuery (new Term("f", "solr")) };
>       var query = new SpanNearQuery (clauses, 0, true);
>       var queryString = query.ToString()
> {code}
> {{queryString}} has the value {{spanNear([f:lucenef:net, f:solr, ], 0, True)}} although {{spanNear([f:lucene, f:net, f:solr], 0, True)}} would be correct.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)