*/
private WGResultSet executeLuceneQuery(WGDatabase db, QueryData queryData, Map parameters) {
Status status = (Status) getStatus();
LuceneManager manager = getCore().getLuceneManager();
if (manager == null) {
addWarning("Lucene fulltext index is disabled");
return null;
}
WGResultSet resultSet;
try {
resultSet = manager.search(db, queryData.getQuery(), parameters, (HttpServletRequest) getPageContext().getRequest());
}
catch (WGQueryException e) {
this.addWarning("Error executing query: " + e.getError() + "{Query: " + e.getQuery() + "}", true);
status.error = e;
resultSet = null;