This is an automated email from the ASF dual-hosted git repository.
deepak pushed a commit to branch release17.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-plugins.gitThe following commit(s) were added to refs/heads/release17.12 by this push:
new 4bef6dd Updated code as per lucene dependency update (OFBIZ-12100)
4bef6dd is described below
commit 4bef6dd715fcba2b6f192b23ef655dba1b5986d8
Author: Deepak Dixit <
[hidden email]>
AuthorDate: Mon Jan 4 14:43:07 2021 +0530
Updated code as per lucene dependency update (OFBIZ-12100)
---
lucene/groovyScripts/content/SearchProducts.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lucene/groovyScripts/content/SearchProducts.groovy b/lucene/groovyScripts/content/SearchProducts.groovy
index 6ae4a9c..656c83f 100644
--- a/lucene/groovyScripts/content/SearchProducts.groovy
+++ b/lucene/groovyScripts/content/SearchProducts.groovy
@@ -57,7 +57,7 @@ if (parameters.luceneQuery) {
}
combQuery.add(query, BooleanClause.Occur.MUST)
- TopScoreDocCollector collector = TopScoreDocCollector.create(100) // defaulting to 100 results
+ TopScoreDocCollector collector = TopScoreDocCollector.create(100, 100) // defaulting to 100 results
searcher.search(combQuery, collector)
ScoreDoc[] hits = collector.topDocs().scoreDocs
productList = []