|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectcontrollers.SearchController
class SearchController
Main controller for searching CoW content.
Property Summary | |
---|---|
def |
HITS_TO_RETRIEVE
number of hits to retrieve in one go |
static String |
INDEXING_TIMESTAMP_PARAMETER_NAME
|
def |
MAX_CACHE_SIZE
setting maximum cache size |
static String |
SOLR_CACHE_PARAMETER_NAME
constansts |
static def |
allowedMethods
Request method restrictions. |
static Map |
conf
CoW config |
def |
errMsg
error message |
def |
index
Default search. |
def |
indexingService
Indexing service used for checking the last indexing time stamp |
def |
parser
parser used for validating queries |
String |
querySyntax
The Query syntax summary. |
def |
securityService
Security service used for checking if user is allowed to see a particular page or not |
Constructor Summary | |
SearchController()
|
Method Summary | |
---|---|
boolean
|
emptyIndex()
checks if the index is empty |
boolean
|
query(int offset, QueryResults resultSet)
Query solr and collect hits in the resultSet |
String
|
syntax()
Return the Query syntax summary. |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Property Detail |
---|
def HITS_TO_RETRIEVE
static final String INDEXING_TIMESTAMP_PARAMETER_NAME
def MAX_CACHE_SIZE
static final String SOLR_CACHE_PARAMETER_NAME
static def allowedMethods
static Map conf
def errMsg
def index
def indexingService
def parser
String querySyntax
def securityService
Constructor Detail |
---|
SearchController()
Method Detail |
---|
boolean emptyIndex()
boolean query(int offset, QueryResults resultSet)
String syntax()
Groovy Documentation