You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2017/01/14 11:04:26 UTC

[jira] [Updated] (LUCENE-7632) Add some sugar constructors to TermQuery

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

Alan Woodward updated LUCENE-7632:
----------------------------------
    Attachment: LUCENE-7632.patch

Patch, adding constructors to TermQuery and SpanTermQuery.  It also moves the TermQuery constructors to the top of the class.

> Add some sugar constructors to TermQuery
> ----------------------------------------
>
>                 Key: LUCENE-7632
>                 URL: https://issues.apache.org/jira/browse/LUCENE-7632
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Alan Woodward
>            Assignee: Alan Woodward
>         Attachments: LUCENE-7632.patch
>
>
> TermQuery should have constructors that take a field and term, in addition to the one taking a Term object.  This has been annoying me for about five years now.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org