public class SolrPost extends Object
Modifier and Type | Field and Description |
---|---|
String |
searchServiceUrl
Search Service base endpoint
|
Constructor and Description |
---|
SolrPost(String serviceUrl)
Solr Post constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clean()
Deletes all data from the Search Service.
|
void |
optimize()
Final step in Search Service index process that optimizes the stored index.
|
void |
post(String dir,
List<String> filePrefixList)
Posts data to Search Service.
|
void |
postIndex(String dir,
List<String> filePrefixList)
Calls the post and optimize methods to complete a post of a list of index files
to the Search Service
|
public String searchServiceUrl
public SolrPost(String serviceUrl) throws SolrPostException
serviceUrl
- SolrPostException
public void postIndex(String dir, List<String> filePrefixList) throws SolrPostException
dir
- filePrefixList
- SolrPostException
public void clean() throws SolrPostException
SolrPostException
public void post(String dir, List<String> filePrefixList) throws SolrPostException
dir
- filePrefixList
- SolrPostException
public void optimize() throws SolrPostException
SolrPostException
Copyright © 2010–2015 Planetary Data System. All rights reserved.