use of org.structr.common.fulltext.DummyFulltextIndexer in project structr by structr.
the class StructrApp method getFulltextIndexer.
@Override
public FulltextIndexer getFulltextIndexer(final Object... params) {
final Map<String, StructrModule> modules = StructrApp.getConfiguration().getModules();
final StructrModule module = modules.get("text-search");
if (module != null && module instanceof FulltextIndexer) {
return (FulltextIndexer) module;
}
return new DummyFulltextIndexer();
}
Aggregations