ignore null values in tags
This commit is contained in:
@@ -86,9 +86,11 @@ public class DataStore {
|
|||||||
|
|
||||||
final String value = tags.getValue(key);
|
final String value = tags.getValue(key);
|
||||||
|
|
||||||
final IntList docIds = valueToDocIds.computeIfAbsent(value, v -> new IntList());
|
if (value != null) {
|
||||||
synchronized (docIds) {
|
final IntList docIds = valueToDocIds.computeIfAbsent(value, v -> new IntList());
|
||||||
docIds.add(docId);
|
synchronized (docIds) {
|
||||||
|
docIds.add(docId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user