[ASTERIXDB-2083][COMP][RT][IDX][SITE] Budget-Constrained Inverted index search
- user-model changes: add text.searchmemory parameter
- storage format changes: no
- interface changes: IInvertedIndexSearcher, IInPlaceInvertedIndex,
IInvertedIndexAccessor, IInvertedListCursor
IObjectFactory, IPartitionedInvertedIndex,
IIndexAccessor
Details:
- Introduce text.searchmemory parameter in the configuration
to conduct budget-constrained inverted index search to prevent
a possible OOM exception
- Remove non-standard hyracks task context from the inverted-index-search
Change-Id: Ib2b2ef7c0b8c55ef66a5322be5d97ebbbf287bf5
Reviewed-on: https://asterix-gerrit.ics.uci.edu/2251
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
diff --git a/asterixdb/asterix-app/src/main/resources/cc3.conf b/asterixdb/asterix-app/src/main/resources/cc3.conf
index e210bf62..b819f24 100644
--- a/asterixdb/asterix-app/src/main/resources/cc3.conf
+++ b/asterixdb/asterix-app/src/main/resources/cc3.conf
@@ -51,6 +51,7 @@
compiler.sortmemory=320KB
compiler.groupmemory=160KB
compiler.joinmemory=256KB
+compiler.textsearchmemory=160KB
compiler.parallelism=3
messaging.frame.size=4096
messaging.frame.count=512