Commit c859a3f 1 parent bdd6a2f commit c859a3f Copy full SHA for c859a3f
File tree 1 file changed +0
-6
lines changed
src/scholarag/app/routers
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,6 @@ async def article_count(
230
230
"multi_match" : {
231
231
"query" : topic ,
232
232
"type" : "phrase" ,
233
- "slop" : 2 ,
234
233
"fields" : ["title" , "text" ],
235
234
}
236
235
}
@@ -248,7 +247,6 @@ async def article_count(
248
247
"multi_match" : {
249
248
"query" : region ,
250
249
"type" : "phrase" ,
251
- "slop" : 2 ,
252
250
"fields" : ["title" , "text" ],
253
251
}
254
252
}
@@ -266,7 +264,6 @@ async def article_count(
266
264
"query" : {
267
265
"bool" : {
268
266
"must" : [
269
- {"term" : {"section" : "Abstract" }},
270
267
* topic_query ,
271
268
* regions_query ,
272
269
* filter_query_list ,
@@ -395,7 +392,6 @@ async def article_listing(
395
392
"multi_match" : {
396
393
"query" : topic ,
397
394
"type" : "phrase" ,
398
- "slop" : 2 ,
399
395
"fields" : ["title" , "text" ],
400
396
}
401
397
}
@@ -413,7 +409,6 @@ async def article_listing(
413
409
"multi_match" : {
414
410
"query" : region ,
415
411
"type" : "phrase" ,
416
- "slop" : 2 ,
417
412
"fields" : ["title" , "text" ],
418
413
}
419
414
}
@@ -431,7 +426,6 @@ async def article_listing(
431
426
"query" : {
432
427
"bool" : {
433
428
"must" : [
434
- {"term" : {"section" : "Abstract" }},
435
429
* topic_query ,
436
430
* regions_query ,
437
431
* filter_query_list ,
You can’t perform that action at this time.
0 commit comments