Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

implement isPayloadAvailable (just return false, payloads unimplemented here), b/c it desn't compile without it.

Doron Cohenbcd57a9af0bc
diff --git a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
index cb0cb76aca3..11f90be8374 100644
--- a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
+++ b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java
@@ -911,6 +911,11 @@ public class MemoryIndex {
throw new UnsupportedOperationException();
}
+ public boolean isPayloadAvailable() {
+ // unsuported
+ return false;
+ }
+
};
}