lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Svensson (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (LUCENENET-597) SpanNearQuery: Wrong formatting in ToString()
Date Sat, 19 Jan 2019 14:04:00 GMT

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

Simon Svensson reassigned LUCENENET-597:
----------------------------------------

    Assignee: Simon Svensson

> 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)

Mime
View raw message