lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-7632) Add some sugar constructors to TermQuery
Date Sat, 14 Jan 2017 22:13:26 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-7632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15822967#comment-15822967
] 

Michael McCandless commented on LUCENE-7632:
--------------------------------------------

+1 to remove/deprecate {{Term}} entirely: I agree it's annoying :)

But I'd rather do the change on this issue at the same time as removing {{Term}}, instead
of having this period of time when some APIs sometimes take the field and term text separately
and some don't: I really don't like the added ambiguity.

> 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


Mime
View raw message