Class FreeTextSearch
- java.lang.Object
-
- hudson.search.Search
-
- org.jenkinsci.plugins.lucene.search.FreeTextSearch
-
- All Implemented Interfaces:
org.kohsuke.stapler.StaplerProxy
public class FreeTextSearch extends Search
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.search.Search
Search.Item, Search.Result
-
-
Field Summary
-
Fields inherited from class hudson.search.Search
SKIP_PERMISSION_CHECK
-
-
Constructor Summary
Constructors Constructor Description FreeTextSearch(SearchBackendManager manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
List<FreeTextSearchItem>
getPage()
int
getPageNum()
SearchResult
getSuggestions(org.kohsuke.stapler.StaplerRequest req, String query)
boolean
isEmptyResult()
boolean
isFirstPage()
boolean
isLastPage()
List<FreeTextSearchItem>
next()
List<FreeTextSearchItem>
prev()
-
-
-
Constructor Detail
-
FreeTextSearch
public FreeTextSearch(SearchBackendManager manager)
-
-
Method Detail
-
getPageNum
public int getPageNum()
-
getPage
public List<FreeTextSearchItem> getPage()
-
isEmptyResult
public boolean isEmptyResult()
-
isFirstPage
@JavaScriptMethod public boolean isFirstPage()
-
isLastPage
@JavaScriptMethod public boolean isLastPage()
-
doIndex
public void doIndex(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp) throws IOException, javax.servlet.ServletException
- Overrides:
doIndex
in classSearch
- Throws:
IOException
javax.servlet.ServletException
-
getSuggestions
public SearchResult getSuggestions(org.kohsuke.stapler.StaplerRequest req, @QueryParameter String query)
- Overrides:
getSuggestions
in classSearch
-
prev
@JavaScriptMethod public List<FreeTextSearchItem> prev()
-
next
@JavaScriptMethod public List<FreeTextSearchItem> next()
-
-