[
https://issues.apache.org/jira/browse/LUCENE-6412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14486215#comment-14486215
]
Robert Muir commented on LUCENE-6412:
-------------------------------------
I don't think we should make regular queries extend Spans (yet).
Spans still need work and have been neglected for years. We are working on
improving them but i do not think we should tie together the APIs at this point.
> 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: [email protected]
For additional commands, e-mail: [email protected]