public abstract class SearchBackend<T> extends Object
| Constructor and Description |
|---|
SearchBackend() |
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
abstract void |
cleanAllJob(ManagerProgress progress) |
abstract void |
close() |
abstract void |
deleteJob(String jobName) |
abstract boolean |
findRunIndex(Run<?,?> run) |
protected String[] |
getAllDefaultSearchableFields() |
protected String[] |
getAllFields() |
abstract List<FreeTextSearchItemImplementation> |
getHits(String query,
boolean searchNext) |
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) |
public abstract void close()
public abstract void storeBuild(Run<?,?> run) throws IOException
IOExceptionpublic abstract boolean findRunIndex(Run<?,?> run)
public abstract List<FreeTextSearchItemImplementation> getHits(String query, boolean searchNext)
public abstract SearchBackend<?> reconfigure(Map<String,Object> config)
public abstract void removeBuild(Run<?,?> run) throws IOException
IOExceptionpublic abstract void deleteJob(String jobName) throws IOException
IOExceptionpublic void rebuildJob(Progress progress, Job<?,?> job, int maxWorkers, boolean overwrite) throws IOException
IOExceptionprotected String[] getAllDefaultSearchableFields()
public void abort()
public void start()
public void rebuildDatabase(ManagerProgress progress, int maxWorkers, Set<String> jobNames, boolean overwrite)
protected String[] getAllFields()
public abstract void cleanAllJob(ManagerProgress progress)
Copyright © 2016–2021. All rights reserved.