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:
@@ -3461,6 +3461,7 @@
|
|||||||
if(!pointer_count || (--pointer_count < count)){
|
if(!pointer_count || (--pointer_count < count)){
|
||||||
|
|
||||||
result[count++] = tmp;
|
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)){
|
if(limit && (count === limit)){
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user