[
https://issues.apache.org/jira/browse/LUCENE-7087?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15188826#comment-15188826
]
Adrien Grand commented on LUCENE-7087:
--------------------------------------
Can you make it {{Iterable<? extends IndexableField>}} instead (like
IndexWriter) so that it is fine to pass eg. a {{List<Field>}}.
> Change MemoryIndex#fromDocument(...) helpers to accept
> Iterable<IndexableField> as document
> -------------------------------------------------------------------------------------------
>
> Key: LUCENE-7087
> URL: https://issues.apache.org/jira/browse/LUCENE-7087
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Martijn van Groningen
> Attachments: LUCENE_7087.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]