You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Oren Ovadia (Jira)" <ji...@apache.org> on 2021/01/14 19:40:00 UTC

[jira] [Commented] (LUCENE-8909) Deprecate getFieldNames from IndexWriter

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

Oren Ovadia commented on LUCENE-8909:
-------------------------------------

Hi all,

I am interested in limiting the number of fields per index in a multi tenant environment. 
{{getFieldNames}} was an easy way to count the number of fields directly, without IndexReaders.

I would love to un-deprecate this method (or add a similar one).
What do you think?

Thanks, 
Oren

> Deprecate getFieldNames from IndexWriter
> ----------------------------------------
>
>                 Key: LUCENE-8909
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8909
>             Project: Lucene - Core
>          Issue Type: Task
>            Reporter: Munendra S N
>            Assignee: Munendra S N
>            Priority: Major
>             Fix For: 8.3
>
>         Attachments: LUCENE-8909.patch
>
>
> From SOLR-12368
> {quote}Would be nice to be able to remove IndexWriter.getFieldNames as well, which was added in LUCENE-7659 only for this workaround.{quote}
> Once Solr task resolved, deprecate {{IndexWriter#getFieldNames}} from 8x and remove it from master



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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