bug fix that might be related to #388, in addition added logging incase the bug fix does not work

This commit is contained in:
Jeremy Long
2015-11-22 07:30:28 -05:00
parent acb9d04c51
commit fc05471086

View File

@@ -278,8 +278,9 @@ public final class CpeMemoryIndex {
if (searchString == null || searchString.trim().isEmpty()) {
throw new ParseException("Query is null or empty");
}
LOGGER.debug(searchString);
final Query query = queryParser.parse(searchString);
return indexSearcher.search(query, maxQueryResults);
return search(query, maxQueryResults);
}
/**