org.jenkinsci.plugins.lucene.search.databackend
Class SolrSearchBackend

java.lang.Object
  extended by org.jenkinsci.plugins.lucene.search.databackend.SearchBackend
      extended by org.jenkinsci.plugins.lucene.search.databackend.SolrSearchBackend

public class SolrSearchBackend
extends SearchBackend


Field Summary
static String COMPOSITE_SEARCH_FIELD
           
 
Constructor Summary
SolrSearchBackend(URI url, String solrCollection)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.jenkinsci.plugins.lucene.search.databackend.SearchBackend
getAllDefaultSearchableFields, getAllFields, getEngine, rebuildDatabase, rebuildJob
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPOSITE_SEARCH_FIELD

public static final String COMPOSITE_SEARCH_FIELD
See Also:
Constant Field Values
Constructor Detail

SolrSearchBackend

public SolrSearchBackend(URI url,
                         String solrCollection)
Method Detail

create

public static SolrSearchBackend create(Map<String,Object> config)

storeBuild

public void storeBuild(hudson.model.AbstractBuild<?,?> build)
                throws IOException
Specified by:
storeBuild in class SearchBackend
Throws:
IOException

getHits

public List<FreeTextSearchItemImplementation> getHits(String queryString,
                                                      boolean includeHighlights)
Specified by:
getHits in class SearchBackend

reconfigure

public SearchBackend reconfigure(Map<String,Object> config)
Specified by:
reconfigure in class SearchBackend

removeBuild

public void removeBuild(hudson.model.AbstractBuild<?,?> build)
Specified by:
removeBuild in class SearchBackend

cleanDeletedBuilds

public void cleanDeletedBuilds(Progress progress,
                               hudson.model.Job job)
Specified by:
cleanDeletedBuilds in class SearchBackend

deleteJob

public void deleteJob(String jobName)
Specified by:
deleteJob in class SearchBackend

cleanDeletedJobs

public void cleanDeletedJobs(Progress progress)
Specified by:
cleanDeletedJobs in class SearchBackend


Copyright © 2004-2015. All Rights Reserved.