mirror of https://github.com/apache/lucene.git
SOLR-2771: Solr modules' tests should not depend on solr-core test classes; move BufferingRequestProcessor from solr-core tests to test-framework so that the Solr Cell module can use it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1172428 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ed2c8e97ea
commit
0047a77f83
|
@ -370,6 +370,10 @@ Bug Fixes
|
||||||
* SOLR-2766: Package individual javadoc sites for solrj and test-framework.
|
* SOLR-2766: Package individual javadoc sites for solrj and test-framework.
|
||||||
(Steve Rowe, Mike McCandless)
|
(Steve Rowe, Mike McCandless)
|
||||||
|
|
||||||
|
* SOLR-2771: Solr modules' tests should not depend on solr-core test classes;
|
||||||
|
move BufferingRequestProcessor from solr-core tests to test-framework so that
|
||||||
|
the Solr Cell module can use it. (janhoy, Steve Rowe)
|
||||||
|
|
||||||
================== 3.4.0 ==================
|
================== 3.4.0 ==================
|
||||||
|
|
||||||
Upgrading from Solr 3.3
|
Upgrading from Solr 3.3
|
||||||
|
|
|
@ -98,7 +98,6 @@
|
||||||
|
|
||||||
<path id="solr.test.base.classpath">
|
<path id="solr.test.base.classpath">
|
||||||
<pathelement path="${common-solr.dir}/build/solr-test-framework/classes/java"/>
|
<pathelement path="${common-solr.dir}/build/solr-test-framework/classes/java"/>
|
||||||
<pathelement path="${common-solr.dir}/build/solr-core/classes/test"/>
|
|
||||||
<pathelement path="${tests.userdir}"/>
|
<pathelement path="${tests.userdir}"/>
|
||||||
<path refid="test.base.classpath"/>
|
<path refid="test.base.classpath"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
|
@ -28,10 +28,10 @@ import org.apache.solr.handler.extraction.ExtractingDocumentLoader;
|
||||||
import org.apache.solr.handler.extraction.ExtractingParams;
|
import org.apache.solr.handler.extraction.ExtractingParams;
|
||||||
import org.apache.solr.handler.extraction.ExtractingRequestHandler;
|
import org.apache.solr.handler.extraction.ExtractingRequestHandler;
|
||||||
import org.apache.solr.request.LocalSolrQueryRequest;
|
import org.apache.solr.request.LocalSolrQueryRequest;
|
||||||
import org.apache.solr.handler.BufferingRequestProcessor;
|
|
||||||
import org.apache.solr.request.SolrQueryRequest;
|
import org.apache.solr.request.SolrQueryRequest;
|
||||||
import org.apache.solr.response.SolrQueryResponse;
|
import org.apache.solr.response.SolrQueryResponse;
|
||||||
import org.apache.solr.update.AddUpdateCommand;
|
import org.apache.solr.update.AddUpdateCommand;
|
||||||
|
import org.apache.solr.update.processor.BufferingRequestProcessor;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
|
@ -22,6 +22,7 @@ import org.apache.solr.common.util.ContentStreamBase;
|
||||||
import org.apache.solr.request.SolrQueryRequest;
|
import org.apache.solr.request.SolrQueryRequest;
|
||||||
import org.apache.solr.response.SolrQueryResponse;
|
import org.apache.solr.response.SolrQueryResponse;
|
||||||
import org.apache.solr.update.AddUpdateCommand;
|
import org.apache.solr.update.AddUpdateCommand;
|
||||||
|
import org.apache.solr.update.processor.BufferingRequestProcessor;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
|
|
@ -26,6 +26,7 @@ import org.apache.solr.response.SolrQueryResponse;
|
||||||
import org.apache.solr.update.AddUpdateCommand;
|
import org.apache.solr.update.AddUpdateCommand;
|
||||||
import org.apache.solr.update.CommitUpdateCommand;
|
import org.apache.solr.update.CommitUpdateCommand;
|
||||||
import org.apache.solr.update.DeleteUpdateCommand;
|
import org.apache.solr.update.DeleteUpdateCommand;
|
||||||
|
import org.apache.solr.update.processor.BufferingRequestProcessor;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
|
|
@ -28,6 +28,7 @@ import org.apache.solr.common.util.ContentStreamBase;
|
||||||
import org.apache.solr.request.SolrQueryRequest;
|
import org.apache.solr.request.SolrQueryRequest;
|
||||||
import org.apache.solr.response.SolrQueryResponse;
|
import org.apache.solr.response.SolrQueryResponse;
|
||||||
import org.apache.solr.update.AddUpdateCommand;
|
import org.apache.solr.update.AddUpdateCommand;
|
||||||
|
import org.apache.solr.update.processor.BufferingRequestProcessor;
|
||||||
import org.junit.BeforeClass;
|
import org.junit.BeforeClass;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.apache.solr.handler;
|
package org.apache.solr.update.processor;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
@ -25,7 +25,6 @@ import org.apache.solr.update.AddUpdateCommand;
|
||||||
import org.apache.solr.update.CommitUpdateCommand;
|
import org.apache.solr.update.CommitUpdateCommand;
|
||||||
import org.apache.solr.update.DeleteUpdateCommand;
|
import org.apache.solr.update.DeleteUpdateCommand;
|
||||||
import org.apache.solr.update.RollbackUpdateCommand;
|
import org.apache.solr.update.RollbackUpdateCommand;
|
||||||
import org.apache.solr.update.processor.UpdateRequestProcessor;
|
|
||||||
|
|
||||||
public class BufferingRequestProcessor extends UpdateRequestProcessor
|
public class BufferingRequestProcessor extends UpdateRequestProcessor
|
||||||
{
|
{
|
Loading…
Reference in New Issue