Github user Indhumathi27 commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2180#discussion_r183458964
--- Diff:
datamap/lucene/src/main/java/org/apache/carbondata/datamap/lucene/LuceneFineGrainDataMap.java
---
@@ -182,7 +182,7 @@ private String getQueryString(Expression expression) {
// execute index search
TopDocs result;
try {
- result = indexSearcher.search(query, indexReader.maxDoc());
+ result = indexSearcher.search(query, Integer.MAX_VALUE);
--- End diff --
@jackylk Tired to implement Text_Match UDF with variable number of
arguments(either 1 0r 2).but it doesnt work.Only either one works
---