1
0
mirror of https://github.com/nextapps-de/flexsearch.git synced 2025-09-09 21:50:49 +02:00

Remove unused variables

This commit is contained in:
Josh Duff
2019-02-20 17:02:13 -06:00
parent 4b90402025
commit 7bfa39e9e4

View File

@@ -271,7 +271,7 @@
return global_encoder[name](value);
};
function worker_handler(id, query, result, limit, where, cursor, suggest){
function worker_handler(id, query, result, limit){
if(this._task_completed !== this.worker){
@@ -1481,8 +1481,6 @@
let cursor;
let sort;
let suggest;
let enrich;
let clone;
if(is_object(query) && (!SUPPORT_DOCUMENT || !is_array(query))){
@@ -1502,8 +1500,6 @@
cursor = SUPPORT_PAGINATION && query["page"];
limit = query["limit"];
threshold = query["threshold"];
enrich = query["enrich"];
clone = query["clone"];
suggest = SUPPORT_SUGGESTION && query["suggest"];
query = query["query"];
}