From caf7fdd37582dba8beebafceab148f867dc12cef Mon Sep 17 00:00:00 2001 From: Matthew Davis Date: Wed, 12 Apr 2023 15:15:46 -0400 Subject: [PATCH] map should not be static! --- .../main/java/io/zulia/server/index/ShardDocumentIndexer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zulia-server/src/main/java/io/zulia/server/index/ShardDocumentIndexer.java b/zulia-server/src/main/java/io/zulia/server/index/ShardDocumentIndexer.java index 5e0a4a35..6318f2f2 100644 --- a/zulia-server/src/main/java/io/zulia/server/index/ShardDocumentIndexer.java +++ b/zulia-server/src/main/java/io/zulia/server/index/ShardDocumentIndexer.java @@ -59,7 +59,7 @@ public class ShardDocumentIndexer { private final static Splitter facetPathSplitter = Splitter.on(ZuliaFieldConstants.FACET_PATH_DELIMITER).omitEmptyStrings(); - private final static Map dimToOrdinal = new ConcurrentHashMap<>(); + private final Map dimToOrdinal = new ConcurrentHashMap<>(); private final ServerIndexConfig indexConfig; private final int majorVersion; @@ -119,7 +119,7 @@ private void addUserFields(org.bson.Document mongoDocument, Document luceneDocum addFacets(luceneDocument, taxoWriter, facetFieldToFacetLabels); } - private static void addFacets(Document luceneDocument, DirectoryTaxonomyWriter taxoWriter, Map> facetFieldToFacetLabels) + private void addFacets(Document luceneDocument, DirectoryTaxonomyWriter taxoWriter, Map> facetFieldToFacetLabels) throws IOException { IntObjMap facetDimToOrdinal = HashIntObjMaps.newMutableMap();