[ofbiz-plugins] branch release18.12 updated: Updated code as per lucene dependency update (OFBIZ-12100)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ofbiz-plugins] branch release18.12 updated: Updated code as per lucene dependency update (OFBIZ-12100)

Deepak Dixit-5
This is an automated email from the ASF dual-hosted git repository.

deepak pushed a commit to branch release18.12
in repository https://gitbox.apache.org/repos/asf/ofbiz-plugins.git


The following commit(s) were added to refs/heads/release18.12 by this push:
     new e897ffc  Updated code as per lucene dependency update (OFBIZ-12100)
e897ffc is described below

commit e897ffc7ce378f557ef2d941c5ec9e14babfdb11
Author: Deepak Dixit <[hidden email]>
AuthorDate: Mon Jan 4 14:42:10 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 = []