Class LuceneSearchBackend
java.lang.Object
org.jenkinsci.plugins.lucene.search.databackend.SearchBackend<org.apache.lucene.document.Document>
org.jenkinsci.plugins.lucene.search.databackend.LuceneSearchBackend
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanAllJob(ManagerProgress progress) voidclose()static LuceneSearchBackendvoidstatic StringbooleanfindRunIndex(Run<?, ?> run) org.apache.lucene.search.QuerygetRunQuery(Run<?, ?> run) SearchBackend<org.apache.lucene.document.Document>reconfigure(Map<String, Object> newConfig) voidremoveBuild(Run<?, ?> run) voidstoreBuild(Run<?, ?> run) Methods inherited from class org.jenkinsci.plugins.lucene.search.databackend.SearchBackend
abort, getAllDefaultSearchableFields, getAllFields, rebuildDatabase, rebuildJob, start
-
Constructor Details
-
LuceneSearchBackend
- Throws:
IOException
-
-
Method Details
-
create
-
reconfigure
- Specified by:
reconfigurein classSearchBackend<org.apache.lucene.document.Document>
-
close
public void close()- Specified by:
closein classSearchBackend<org.apache.lucene.document.Document>
-
getHits
- Specified by:
getHitsin classSearchBackend<org.apache.lucene.document.Document>
-
storeBuild
- Specified by:
storeBuildin classSearchBackend<org.apache.lucene.document.Document>- Throws:
IOException
-
getRunQuery
public org.apache.lucene.search.Query getRunQuery(Run<?, ?> run) throws org.apache.lucene.queryparser.classic.ParseException- Throws:
org.apache.lucene.queryparser.classic.ParseException
-
findRunIndex
- Specified by:
findRunIndexin classSearchBackend<org.apache.lucene.document.Document>
-
removeBuild
- Specified by:
removeBuildin classSearchBackend<org.apache.lucene.document.Document>- Throws:
IOException
-
deleteJob
- Specified by:
deleteJobin classSearchBackend<org.apache.lucene.document.Document>- Throws:
IOException
-
cleanAllJob
- Specified by:
cleanAllJobin classSearchBackend<org.apache.lucene.document.Document>
-
escapeQuery
-