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() |
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, query, query, query, query, queryAndStreamResponse, queryAndStreamResponse, queryAndStreamResponse, request, rollback, rollback
public Map<String,Map<String,SolrInputDocument>> docs
public void clear()
public NamedList<Object> request(SolrRequest request, String coll) throws SolrServerException, IOException
request
in class SolrClient
SolrServerException
IOException
public void close() throws IOException
IOException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.