Class SearchBackend<T>
java.lang.Object
org.jenkinsci.plugins.lucene.search.databackend.SearchBackend<T>
- Direct Known Subclasses:
LuceneSearchBackend
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
abort()
abstract void
cleanAllJob
(ManagerProgress progress) abstract void
close()
abstract void
abstract boolean
findRunIndex
(Run<?, ?> run) protected String[]
protected String[]
abstract List<FreeTextSearchItemImplementation>
void
rebuildDatabase
(ManagerProgress progress, int maxWorkers, Set<String> jobNames, boolean overwrite) void
rebuildJob
(Progress progress, Job<?, ?> job, int maxWorkers, boolean overwrite) abstract SearchBackend<?>
reconfigure
(Map<String, Object> config) abstract void
removeBuild
(Run<?, ?> run) void
start()
abstract void
storeBuild
(Run<?, ?> run)
-
Constructor Details
-
SearchBackend
public SearchBackend()
-
-
Method Details
-
close
public abstract void close() -
storeBuild
- Throws:
IOException
-
findRunIndex
-
getHits
-
reconfigure
-
removeBuild
- Throws:
IOException
-
deleteJob
- Throws:
IOException
-
rebuildJob
public void rebuildJob(Progress progress, Job<?, ?> job, int maxWorkers, boolean overwrite) throws IOException- Throws:
IOException
-
getAllDefaultSearchableFields
-
abort
public void abort() -
start
public void start() -
rebuildDatabase
public void rebuildDatabase(ManagerProgress progress, int maxWorkers, Set<String> jobNames, boolean overwrite) -
getAllFields
-
cleanAllJob
-