You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alan Woodward (JIRA)" <ji...@apache.org> on 2016/01/25 14:40:39 UTC
[jira] [Updated] (LUCENE-6992) Add sugar methods to allow creating
a MemoryIndex from a Document or set of IndexableFields
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org