1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-09-25 12:58:59 +02:00

Merge pull request #170 from Leyart/bugfix/multiple-query-intersect-or

Fixed duplicated entries in intersect for multiple query results
This commit is contained in:
Thomas Wilkerling
2021-05-09 11:30:23 +02:00
committed by GitHub

View File

@@ -3461,6 +3461,7 @@
if(!pointer_count || (--pointer_count < count)){
result[count++] = tmp;
check[index] = z + 1; // add the entry to the existing results in case of multiple queries with an or clause
if(limit && (count === limit)){