mirror of https://github.com/apache/lucene.git
implement grow() for spatial3d intersector: easy speedup
This commit is contained in:
parent
81d5ce884b
commit
4ea4adc210
|
@ -38,6 +38,11 @@ class PointInShapeIntersectVisitor implements IntersectVisitor {
|
||||||
this.shapeBounds = shapeBounds;
|
this.shapeBounds = shapeBounds;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void grow(int count) {
|
||||||
|
hits.grow(count);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void visit(int docID) {
|
public void visit(int docID) {
|
||||||
hits.add(docID);
|
hits.add(docID);
|
||||||
|
|
Loading…
Reference in New Issue