public class TestHarness.LocalRequestFactory extends Object
Modifier and Type | Field and Description |
---|---|
Map<String,String> |
args |
int |
limit |
String |
qtype |
int |
start |
Constructor and Description |
---|
LocalRequestFactory() |
Modifier and Type | Method and Description |
---|---|
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.
|
public String qtype
public int start
public int limit
public org.apache.solr.request.LocalSolrQueryRequest makeRequest(String... q)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.