Class JunitFreeTextSearchExtension
java.lang.Object
org.jenkinsci.plugins.lucene.search.FreeTextSearchExtension
org.jenkinsci.plugins.lucene.search.extensionimplementations.JunitFreeTextSearchExtension
- All Implemented Interfaces:
ExtensionPoint
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the keyword that lucene stores the data as.getTextResult(Run<?, ?> run) The text that will be searchable.booleanIf the original data should be stored in the index.Methods inherited from class org.jenkinsci.plugins.lucene.search.FreeTextSearchExtension
all, isDefaultSearchable
-
Constructor Details
-
JunitFreeTextSearchExtension
public JunitFreeTextSearchExtension()
-
-
Method Details
-
getKeyword
Description copied from class:FreeTextSearchExtensionSpecifies the keyword that lucene stores the data as. This keyword is the same as the user can use to search for. E.g. with keyword = "foo", the following query "foo:bar" will look for "bar" in the textresult for this extension.Care must be taken to make sure this does not collide with any fieldName in
Field.- Specified by:
getKeywordin classFreeTextSearchExtension- Returns:
- the keyword, the word must be lower case
-
getTextResult
Description copied from class:FreeTextSearchExtensionThe text that will be searchable.- Specified by:
getTextResultin classFreeTextSearchExtension
-
isPersist
public boolean isPersist()Description copied from class:FreeTextSearchExtensionIf the original data should be stored in the index. This is necessary if the data should be displayed with context around the match in the search result.- Overrides:
isPersistin classFreeTextSearchExtension
-