You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "xiaojian zhou (JIRA)" <ji...@apache.org> on 2017/09/22 18:54:01 UTC

[jira] [Resolved] (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 ]

xiaojian zhou resolved GEODE-3606.
----------------------------------
    Resolution: Fixed

> 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
>
> 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
(v6.4.14#64029)