public class SolrIndexer extends AsynchIndexer<NamedFields,org.apache.solr.client.solrj.response.UpdateResponse>
Indexer.IndexerType, Indexer.NoContent| Modifier and Type | Field and Description |
|---|---|
static String |
CONFIGURATION_FOLDER |
static Long |
INDEX_TIME_BOOST |
| Constructor and Description |
|---|
SolrIndexer(org.apache.solr.client.solrj.SolrServer solrServer) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.util.concurrent.ListeningExecutorService |
executorService() |
protected org.apache.solr.common.SolrInputDocument |
fromMap(Map<String,Collection<String>> fields) |
Indexer.IndexerType |
getIndexerType() |
Callable<org.apache.solr.client.solrj.response.UpdateResponse> |
removeSynch(String pid) |
Callable<org.apache.solr.client.solrj.response.UpdateResponse> |
updateSynch(String id,
NamedFields fields) |
remove, updatepublic static final String CONFIGURATION_FOLDER
public static final Long INDEX_TIME_BOOST
@Autowired public SolrIndexer(org.apache.solr.client.solrj.SolrServer solrServer)
solrServer - public Callable<org.apache.solr.client.solrj.response.UpdateResponse> updateSynch(String id, NamedFields fields)
updateSynch in class AsynchIndexer<NamedFields,org.apache.solr.client.solrj.response.UpdateResponse>protected org.apache.solr.common.SolrInputDocument fromMap(Map<String,Collection<String>> fields)
public Callable<org.apache.solr.client.solrj.response.UpdateResponse> removeSynch(String pid)
removeSynch in class AsynchIndexer<NamedFields,org.apache.solr.client.solrj.response.UpdateResponse>public Indexer.IndexerType getIndexerType()
public com.google.common.util.concurrent.ListeningExecutorService executorService()
executorService in class AsynchIndexer<NamedFields,org.apache.solr.client.solrj.response.UpdateResponse>ListeningExecutorService to use for operation.Copyright © 2013–2014 DuraSpace, Inc.. All rights reserved.