Author: thomasm
Date: Fri Nov 4 11:24:43 2016
New Revision: 1768015
URL: http://svn.apache.org/viewvc?rev=1768015&view=rev
Log:
OAK-5068 Aggregate index: superfluous warning "Full-text index without plan"
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/aggregate/AggregateIndex.java
Modified:
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/aggregate/AggregateIndex.java
URL:
http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/aggregate/AggregateIndex.java?rev=1768015&r1=1768014&r2=1768015&view=diff
==============================================================================
---
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/aggregate/AggregateIndex.java
(original)
+++
jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/aggregate/AggregateIndex.java
Fri Nov 4 11:24:43 2016
@@ -86,9 +86,8 @@ public class AggregateIndex implements A
AggregateIndexPlan plan = new AggregateIndexPlan(filter);
collectCombinedPlan(e, filter, sortOrder, rootState, plan, "");
if (plan.containsPathWithoutPlan()) {
- // this is not expected (a full-text index that
- // can't deal with a full-text restriction)
- LOG.warn("Full-text index without plan: " + e);
+ // the full-text index didn't return a plan
+ LOG.debug("Full-text index without plan: " + e);
return Collections.emptyList();
}
return Collections.singletonList((IndexPlan) plan);