public class SolrSearchBackend extends SearchBackend
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPOSITE_SEARCH_FIELD |
| Constructor and Description |
|---|
SolrSearchBackend(URI url,
String solrCollection) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanDeletedBuilds(Progress progress,
hudson.model.Job job) |
void |
cleanDeletedJobs(Progress progress) |
static SolrSearchBackend |
create(Map<String,Object> config) |
void |
deleteJob(String jobName) |
List<FreeTextSearchItemImplementation> |
getHits(String queryString,
boolean includeHighlights) |
SearchBackend |
reconfigure(Map<String,Object> config) |
void |
removeBuild(hudson.model.AbstractBuild<?,?> build) |
void |
storeBuild(hudson.model.AbstractBuild<?,?> build) |
getAllDefaultSearchableFields, getAllFields, getEngine, rebuildDatabase, rebuildJobpublic static final String COMPOSITE_SEARCH_FIELD
public static SolrSearchBackend create(Map<String,Object> config)
public void storeBuild(hudson.model.AbstractBuild<?,?> build)
throws IOException
storeBuild in class SearchBackendIOExceptionpublic List<FreeTextSearchItemImplementation> getHits(String queryString, boolean includeHighlights)
getHits in class SearchBackendpublic SearchBackend reconfigure(Map<String,Object> config)
reconfigure in class SearchBackendpublic void removeBuild(hudson.model.AbstractBuild<?,?> build)
removeBuild in class SearchBackendpublic void cleanDeletedBuilds(Progress progress, hudson.model.Job job)
cleanDeletedBuilds in class SearchBackendpublic void deleteJob(String jobName)
deleteJob in class SearchBackendpublic void cleanDeletedJobs(Progress progress)
cleanDeletedJobs in class SearchBackendCopyright © 2004-2015. All Rights Reserved.