Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[ignore] avoid exception if no metadata set

svn path=/branches/rangeindex/; revision=18775
  • Loading branch information...
commit 4affccea9fa7ca9345188d6f05169efbc2e13112 1 parent 5130788
@shabanovd shabanovd authored
View
4 extensions/indexes/lucene/src/org/exist/indexing/lucene/LuceneIndexWorker.java
@@ -1198,7 +1198,9 @@ else if (config.getBoost() > 0)
for (Field meta : metas) {
doc.add(meta);
}
- facetFields.addFields(doc, paths);
+ if (!paths.isEmpty()) {
+ facetFields.addFields(doc, paths);
+ }
if (pending.idxConf.getAnalyzer() == null)
writer.addDocument(doc);
Please sign in to comment.
Something went wrong with that request. Please try again.