public class SolrPost
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
searchServiceUrl
Search Service base endpoint
|
Constructor and Description |
---|
SolrPost(java.lang.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(java.lang.String dir,
java.util.List<java.lang.String> filePrefixList)
Posts data to Search Service.
|
void |
postIndex(java.lang.String dir,
java.util.List<java.lang.String> filePrefixList)
Calls the post and optimize methods to complete a post of a list of index files
to the Search Service
|
public SolrPost(java.lang.String serviceUrl) throws SolrPostException
serviceUrl
- SolrPostException
public void postIndex(java.lang.String dir, java.util.List<java.lang.String> filePrefixList) throws SolrPostException
dir
- filePrefixList
- SolrPostException
public void clean() throws SolrPostException
SolrPostException
public void post(java.lang.String dir, java.util.List<java.lang.String> filePrefixList) throws SolrPostException
dir
- filePrefixList
- SolrPostException
public void optimize() throws SolrPostException
SolrPostException
Copyright © 2010-2018 Planetary Data System. All Rights Reserved.