Search topic with ChangeIndex

Change-Id: I51c65482ab31956fbadb2a7520ef571e7ad9c6c4
This commit is contained in:
Shawn Pearce
2013-06-24 14:55:38 -06:00
parent a5ca2095e4
commit fe1f5916b1
4 changed files with 25 additions and 6 deletions

View File

@@ -353,7 +353,10 @@ public class LuceneChangeIndex implements ChangeIndex, LifecycleListener {
if (f.isRepeatable()) {
add(result, f, (Iterable<?>) f.get(cd, fillArgs));
} else {
add(result, f, Collections.singleton(f.get(cd, fillArgs)));
Object val = f.get(cd, fillArgs);
if (val != null) {
add(result, f, Collections.singleton(val));
}
}
}
return result;