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-5114) remove boolean useCache param from TermsEnum.seekCeil/Exact
Date Tue, 16 Jul 2013 21:42:49 GMT

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

Michael McCandless commented on LUCENE-5114:
--------------------------------------------

bq. However, isn't this a breaking change you committed to 4x?

It is a break (I "advertised" this in CHANGES.txt), but these APIs are marked @experimental.
 Also, I'd rather on upgrade that expert users using these methods realize (because they see
the compilation errors) that useCache is/was not doing anything, so they can then think about
whether they want to change their code (e.g. add their own cache higher up or something).
                
> remove boolean useCache param from TermsEnum.seekCeil/Exact
> -----------------------------------------------------------
>
>                 Key: LUCENE-5114
>                 URL: https://issues.apache.org/jira/browse/LUCENE-5114
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 5.0, 4.5
>
>         Attachments: LUCENE-5114.patch
>
>
> Long ago terms dict had a cache, but it was problematic and we removed it, but the API
still has a relic boolean useCache ... I think we should drop it from the API as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message