mirror of https://github.com/apache/lucene.git
SOLR-1207: equals method should compare this and other of DocList in DocSetBase
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@782506 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
24485d6d55
commit
2eef2dfdc5
|
@ -409,6 +409,8 @@ Bug Fixes
|
|||
48. SOLR-1182: Fix bug in OrdFieldSource#equals which could cause a bug with OrdFieldSource caching
|
||||
on OrdFieldSource#hashcode collisions. (Mark Miller)
|
||||
|
||||
49. SOLR-1207: equals method should compare this and other of DocList in DocSetBase (koji)
|
||||
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
|
|
@ -162,7 +162,7 @@ abstract class DocSetBase implements DocSet {
|
|||
if (this instanceof DocList && other instanceof DocList) {
|
||||
// compare ordering
|
||||
DocIterator i1=this.iterator();
|
||||
DocIterator i2=this.iterator();
|
||||
DocIterator i2=other.iterator();
|
||||
while(i1.hasNext() && i2.hasNext()) {
|
||||
if (i1.nextDoc() != i2.nextDoc()) return false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue