geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zho...@apache.org
Subject [geode] branch feature/GEODE-3240 updated: GEODE-3240: chnage createRepositoryManager's mapper to be LuceneSerializer
Date Tue, 12 Sep 2017 01:09:05 GMT
This is an automated email from the ASF dual-hosted git repository.

zhouxj pushed a commit to branch feature/GEODE-3240
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/feature/GEODE-3240 by this push:
     new a76121b  GEODE-3240: chnage createRepositoryManager's mapper to be LuceneSerializer
a76121b is described below

commit a76121bc03242e4a0025abb5145aee1c1d5ddcca
Author: zhouxh <gzhou@pivotal.io>
AuthorDate: Mon Sep 11 18:06:58 2017 -0700

    GEODE-3240: chnage createRepositoryManager's mapper to be LuceneSerializer
---
 .../geode/cache/lucene/internal/LuceneIndexForPartitionedRegion.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneIndexForPartitionedRegion.java
b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneIndexForPartitionedRegion.java
index 848a574..2fc714a 100644
--- a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneIndexForPartitionedRegion.java
+++ b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneIndexForPartitionedRegion.java
@@ -57,7 +57,7 @@ public class LuceneIndexForPartitionedRegion extends LuceneIndexImpl {
   }
 
   protected RepositoryManager createRepositoryManager(LuceneSerializer luceneSerializer)
{
-    HeterogeneousLuceneSerializer mapper = (HeterogeneousLuceneSerializer) luceneSerializer;
+    LuceneSerializer mapper = luceneSerializer;
     if (mapper == null) {
       mapper = new HeterogeneousLuceneSerializer(getFieldNames());
     }

-- 
To stop receiving notification emails like this one, please contact
['"commits@geode.apache.org" <commits@geode.apache.org>'].

Mime
View raw message