[ https://issues.apache.org/jira/browse/LUCENE-6412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14488022#comment-14488022 ]
Paul Elschot commented on LUCENE-6412: -------------------------------------- If we also implement getSpans() on PhraseQuery, it would be much easier to get rid of the scoring differences between phrases and spans. I think that can be done now, the position methods of Spans are stable enough. > Merge SpanTermQuery into TermQuery > ---------------------------------- > > Key: LUCENE-6412 > URL: https://issues.apache.org/jira/browse/LUCENE-6412 > Project: Lucene - Core > Issue Type: Improvement > Affects Versions: Trunk, 5.2 > Reporter: Alan Woodward > Priority: Minor > Attachments: LUCENE-6412.patch > > > Having a separate SpanTermQuery doesn't actually gain us anything now, and > it's trivial enough to make TermQuery extend SpanQuery copy the getSpans() > and getField() impls over from STQ. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org