You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dan Smith (JIRA)" <ji...@apache.org> on 2017/09/12 20:25:00 UTC
[jira] [Created] (GEODE-3606) LuceneSerializer should take a
LuceneIndex as a parameter
Dan Smith created GEODE-3606:
--------------------------------
Summary: 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)