[
https://issues.apache.org/jira/browse/LUCENE-6992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alan Woodward updated LUCENE-6992:
----------------------------------
Attachment: LUCENE-6992.patch
Patch. I initially automatically froze the index created by the
.fromDocument() methods, but I can see cases where you want to create a
MemoryIndex from a document but then decorate it with extra fields, so I've
left it mutable.
> Add sugar methods to allow creating a MemoryIndex from a Document or set of
> IndexableFields
> -------------------------------------------------------------------------------------------
>
> Key: LUCENE-6992
> URL: https://issues.apache.org/jira/browse/LUCENE-6992
> Project: Lucene - Core
> Issue Type: Improvement
> Affects Versions: 5.5, Trunk
> Reporter: Alan Woodward
> Assignee: Alan Woodward
> Priority: Minor
> Attachments: LUCENE-6992.patch
>
>
> This came up on the mailing list a few days ago - it's not as obvious as it
> should be how to add arbitrary IndexableFields to a MemoryIndex, and a few
> sugar methods will make this a lot simpler.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]