[
https://issues.apache.org/jira/browse/GEODE-3606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16176927#comment-16176927
]
ASF subversion and git services commented on GEODE-3606:
--------------------------------------------------------
Commit 26c9107111811534fd299997479726f81f571838 in geode's branch
refs/heads/feature/GEODE-3239 from zhouxh
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=26c9107 ]
GEODE-3606: add index as parameter for toDocuments()
This closes #810
> 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)