You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Swapnil Bawaskar (JIRA)" <ji...@apache.org> on 2018/02/01 22:52:55 UTC
[jira] [Closed] (GEODE-3606) LuceneSerializer should take a
LuceneIndex as a parameter
[ https://issues.apache.org/jira/browse/GEODE-3606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Swapnil Bawaskar closed GEODE-3606.
-----------------------------------
> LuceneSerializer should take a LuceneIndex as a parameter
> ---------------------------------------------------------
>
> Key: GEODE-3606
> URL: https://issues.apache.org/jira/browse/GEODE-3606
> Project: Geode
> Issue Type: Sub-task
> Components: lucene
> Reporter: Dan Smith
> Priority: Major
> Fix For: 1.4.0
>
>
> The LuceneSerializer API is currently specified as
> {code}
> LuceneSerializer {
> Collection<Document> toDocuments(Object value);
> }
> {code}
> Unfortunately, that means the serializer doesn't have access to the list of fields and analyzers configured on the index. We should change the API to be
> {code}
> LuceneSerializer {
> Collection<Document> toDocuments(LuceneIndex index, Object value);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)