lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Commented] (LUCENE-5114) remove boolean useCache param from TermsEnum.seekCeil/Exact
Date Tue, 16 Jul 2013 21:42:49 GMT


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:
>             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:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message