Skip to content

Commit 6a2019e

Browse files
committed
Fixed a bug where a search filter was not advancing to the correct DocId
1 parent 21ac421 commit 6a2019e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/NHibernate.Search/Filter/ChainedFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public override int Advance(int target)
119119
while (target > currentIndex)
120120
{
121121
if (iterator.MoveNext())
122-
currentIndex++;
122+
currentIndex = iterator.Current;
123123
else
124124
currentIndex = NO_MORE_DOCS;
125125
}

0 commit comments

Comments
 (0)