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 TypeMethodDescriptionvoid
cleanAllJob
(ManagerProgress progress) void
close()
static LuceneSearchBackend
void
static String
boolean
findRunIndex
(Run<?, ?> run) org.apache.lucene.search.Query
getRunQuery
(Run<?, ?> run) SearchBackend<org.apache.lucene.document.Document>
reconfigure
(Map<String, Object> newConfig) void
removeBuild
(Run<?, ?> run) void
storeBuild
(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:
reconfigure
in classSearchBackend<org.apache.lucene.document.Document>
-
close
public void close()- Specified by:
close
in classSearchBackend<org.apache.lucene.document.Document>
-
getHits
- Specified by:
getHits
in classSearchBackend<org.apache.lucene.document.Document>
-
storeBuild
- Specified by:
storeBuild
in 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:
findRunIndex
in classSearchBackend<org.apache.lucene.document.Document>
-
removeBuild
- Specified by:
removeBuild
in classSearchBackend<org.apache.lucene.document.Document>
- Throws:
IOException
-
deleteJob
- Specified by:
deleteJob
in classSearchBackend<org.apache.lucene.document.Document>
- Throws:
IOException
-
cleanAllJob
- Specified by:
cleanAllJob
in classSearchBackend<org.apache.lucene.document.Document>
-
escapeQuery
-