You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/09/22 16:40:01 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16176687#comment-16176687 ]
ASF subversion and git services commented on GEODE-3606:
--------------------------------------------------------
Commit a2de0d22b3868864db6ba6b3da0c18a23c5925a1 in geode's branch refs/heads/feature/GEODE-3606 from zhouxh
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=a2de0d2 ]
GEODE-3606: add index as parameter for toDocuments()
> 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)