if (methodName.equals("unindex")) {
return new DefaultUnindexMethod(methodName, compass);
}
if (methodName.equals("reindexAll")) {
LOG.warn("The Searchable Plugin 'reindexAll' method is deprecated and will be removed in the next version: please use 'reindex' instead");
return new DefaultReindexMethod(methodName, compass, compassGps, this);
}
if (methodName.equals("reindex")) {
return new DefaultReindexMethod(methodName, compass, compassGps, this);
}
if (methodName.equals("termFreqs")) {
return new DefaultTermFreqsMethod(methodName, compass, grailsApplication, getDefaultOptions(methodName));
}