|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.solr.util.TestHarness.LocalRequestFactory
public class TestHarness.LocalRequestFactory
A Factory that generates LocalSolrQueryRequest objects using a specified set of default options.
Field Summary | |
---|---|
Map<String,String> |
args
|
int |
limit
|
String |
qtype
|
int |
start
|
Constructor Summary | |
---|---|
TestHarness.LocalRequestFactory()
|
Method Summary | |
---|---|
org.apache.solr.request.LocalSolrQueryRequest |
makeRequest(String... q)
Creates a LocalSolrQueryRequest based on variable args; for historical reasons, this method has some peculiar behavior: If there is a single arg, then it is treated as the "q" param, and the LocalSolrQueryRequest consists of that query string along with "qt", "start", and "rows" params (based on the qtype, start, and limit properties of this factory) along with any other default "args" set on this factory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String qtype
public int start
public int limit
public Map<String,String> args
Constructor Detail |
---|
public TestHarness.LocalRequestFactory()
Method Detail |
---|
public org.apache.solr.request.LocalSolrQueryRequest makeRequest(String... q)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |