SOLR-1726: disable deep paging

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1239326 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2012-02-01 21:15:24 +00:00
parent 07d334be9b
commit 8eca88f9d4
2 changed files with 11 additions and 4 deletions

View File

@ -216,9 +216,13 @@ public abstract class QParser {
*/
public ScoreDoc getPaging() throws ParseException
{
String pageScoreS = null;
String pageDocS = null;
return null;
/*** This is not ready for prime-time... see SOLR-1726
String pageScoreS = null;
String pageDocS = null;
pageScoreS = params.get(CommonParams.PAGESCORE);
pageDocS = params.get(CommonParams.PAGEDOC);
@ -233,6 +237,8 @@ public abstract class QParser {
else {
return null;
}
***/
}
/**

View File

@ -55,6 +55,7 @@ import org.apache.solr.update.DirectUpdateHandler2;
import org.junit.BeforeClass;
import org.junit.Ignore;
import org.junit.Test;
/**
@ -763,7 +764,7 @@ public class BasicFunctionalityTest extends SolrTestCaseJ4 {
}
}
@Ignore("See SOLR-1726")
@Test
public void testDeepPaging() throws Exception {
for (int i = 0; i < 1000; i++){