|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mycore.frontend.indexbrowser.lucene.MCRIndexBrowserSearcher
public class MCRIndexBrowserSearcher
Searcher class for the index browser. Creates a list of MCRIndexBrowserEntries which contains the results of the search.
This class is excluded from MCRIndexBrowserData.
| Field Summary | |
|---|---|
protected MCRIndexBrowserIncomingData |
browseData
|
protected List<MCRIndexBrowserEntry> |
hitList
|
protected MCRIndexBrowserConfig |
indexConfig
|
protected static Logger |
LOGGER
|
protected MCRQuery |
query
|
protected MCRResults |
results
|
| Constructor Summary | |
|---|---|
MCRIndexBrowserSearcher(MCRIndexBrowserIncomingData browseData,
MCRIndexBrowserConfig indexConfig)
|
|
| Method Summary | |
|---|---|
protected MCRCondition |
buildCondition()
Create the condition of the query. |
protected MCRQuery |
buildQuery()
Creates the search query for a new index browser request. |
protected List<MCRSortBy> |
buildSortCriteria()
Creates the sort criteria of the query. |
protected List<MCRIndexBrowserEntry> |
createLinkedListfromSearch()
Creates a list of MCRIndexBrowserEntries from the results of the search. |
List<MCRIndexBrowserEntry> |
doSearch()
Starts the search and returns the result list. |
protected String |
getOperator()
Returns the lucene search operator as String to be used doing a lucene query. |
List<MCRIndexBrowserEntry> |
getResultList()
Returns the final created result list of the cache. |
protected MCRResults |
search()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Logger LOGGER
protected MCRIndexBrowserIncomingData browseData
protected MCRIndexBrowserConfig indexConfig
protected MCRQuery query
protected MCRResults results
protected List<MCRIndexBrowserEntry> hitList
| Constructor Detail |
|---|
public MCRIndexBrowserSearcher(MCRIndexBrowserIncomingData browseData,
MCRIndexBrowserConfig indexConfig)
| Method Detail |
|---|
public List<MCRIndexBrowserEntry> doSearch()
protected MCRQuery buildQuery()
protected MCRCondition buildCondition()
protected List<MCRSortBy> buildSortCriteria()
protected MCRResults search()
protected List<MCRIndexBrowserEntry> createLinkedListfromSearch()
protected String getOperator()
public List<MCRIndexBrowserEntry> getResultList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||