public class MockSearchableSolrClient extends SolrClient
{!term f=id} and id: syntax is supported) or *:*.| Modifier and Type | Field and Description | 
|---|---|
| Map<String,Map<String,SolrInputDocument>> | docs | 
| Constructor and Description | 
|---|
| MockSearchableSolrClient() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear() | 
| void | close() | 
| long | getNumQueries() | 
| long | getNumUpdates() | 
| NamedList<Object> | request(SolrRequest request,
       String coll) | 
add, add, add, add, add, add, add, add, add, add, addBean, addBean, addBean, addBean, addBeans, addBeans, addBeans, addBeans, addBeans, addBeans, commit, commit, commit, commit, commit, commit, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteById, deleteByQuery, deleteByQuery, deleteByQuery, deleteByQuery, getBinder, getById, getById, getById, getById, getById, getById, getById, getById, optimize, optimize, optimize, optimize, optimize, optimize, ping, ping, query, query, query, query, queryAndStreamResponse, queryAndStreamResponse, queryAndStreamResponse, request, rollback, rollbackpublic Map<String,Map<String,SolrInputDocument>> docs
public void clear()
public NamedList<Object> request(SolrRequest request, String coll) throws SolrServerException, IOException
request in class SolrClientSolrServerExceptionIOExceptionpublic long getNumUpdates()
public long getNumQueries()
public void close()
           throws IOException
IOExceptionCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.