use of org.apache.jackrabbit.oak.spi.query.QueryIndex.AdvanceFulltextQueryIndex in project jackrabbit-oak by apache.
the class AggregateIndexProvider method getQueryIndexes.
@Override
@Nonnull
public List<? extends QueryIndex> getQueryIndexes(NodeState state) {
List<? extends QueryIndex> list = baseProvider.getQueryIndexes(state);
List<QueryIndex> newList = new ArrayList<QueryIndex>();
for (QueryIndex index : list) {
if (index instanceof AdvanceFulltextQueryIndex) {
index = new AggregateIndex((AdvanceFulltextQueryIndex) index);
}
newList.add(index);
}
return newList;
}
Aggregations