public class GeonamesIndex extends Object
Modifier and Type | Method and Description |
---|---|
static GeonamesIndex |
instance() |
org.apache.solr.client.solrj.response.QueryResponse |
query(String query) |
org.apache.solr.client.solrj.response.QueryResponse |
query(String query,
int limit) |
org.apache.solr.client.solrj.response.QueryResponse |
query(String query,
int nRows,
String[] fields,
String filter) |
public static GeonamesIndex instance()
GeonamesIndex
instancepublic org.apache.solr.client.solrj.response.QueryResponse query(String query) throws org.apache.solr.client.solrj.SolrServerException
query
- org.apache.solr.client.solrj.SolrServerException
public org.apache.solr.client.solrj.response.QueryResponse query(String query, int limit) throws org.apache.solr.client.solrj.SolrServerException
query
- limit
- org.apache.solr.client.solrj.SolrServerException
public org.apache.solr.client.solrj.response.QueryResponse query(String query, int nRows, String[] fields, String filter) throws org.apache.solr.client.solrj.SolrServerException
query
- nRows
- fields
- filter
- org.apache.solr.client.solrj.SolrServerException