lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbern...@apache.org
Subject svn commit: r1540922 - in /lucene/dev/branches/branch_4x: ./ solr/ solr/core/ solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
Date Tue, 12 Nov 2013 02:30:22 GMT
Author: jbernste
Date: Tue Nov 12 02:30:22 2013
New Revision: 1540922

URL: http://svn.apache.org/r1540922
Log:
SOLR-5408 Fix CollapsingQParserPlugin issue with compound sort criteria

Modified:
    lucene/dev/branches/branch_4x/   (props changed)
    lucene/dev/branches/branch_4x/solr/   (props changed)
    lucene/dev/branches/branch_4x/solr/core/   (props changed)
    lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java

Modified: lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java?rev=1540922&r1=1540921&r2=1540922&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
(original)
+++ lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/search/CollapsingQParserPlugin.java
Tue Nov 12 02:30:22 2013
@@ -470,6 +470,7 @@ public class CollapsingQParserPlugin ext
           currentDocBase = contexts[currentContext].docBase;
           nextDocBase = currentContext+1 < contexts.length ? contexts[currentContext+1].docBase
: maxDoc;
           delegate.setNextReader(contexts[currentContext]);
+          delegate.setScorer(dummy);
         }
 
         int contextDoc = docId-currentDocBase;
@@ -582,6 +583,7 @@ public class CollapsingQParserPlugin ext
           currentDocBase = contexts[currentContext].docBase;
           nextDocBase = currentContext+1 < contexts.length ? contexts[currentContext+1].docBase
: maxDoc;
           delegate.setNextReader(contexts[currentContext]);
+          delegate.setScorer(dummy);
         }
 
         int contextDoc = docId-currentDocBase;



Mime
View raw message