nucliadb 6.2.1.post3117__py3-none-any.whl → 6.2.1.post3124__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nucliadb/search/search/find_merge.py +7 -3
- {nucliadb-6.2.1.post3117.dist-info → nucliadb-6.2.1.post3124.dist-info}/METADATA +5 -5
- {nucliadb-6.2.1.post3117.dist-info → nucliadb-6.2.1.post3124.dist-info}/RECORD +7 -7
- {nucliadb-6.2.1.post3117.dist-info → nucliadb-6.2.1.post3124.dist-info}/WHEEL +0 -0
- {nucliadb-6.2.1.post3117.dist-info → nucliadb-6.2.1.post3124.dist-info}/entry_points.txt +0 -0
- {nucliadb-6.2.1.post3117.dist-info → nucliadb-6.2.1.post3124.dist-info}/top_level.txt +0 -0
- {nucliadb-6.2.1.post3117.dist-info → nucliadb-6.2.1.post3124.dist-info}/zip-safe +0 -0
@@ -96,9 +96,13 @@ async def build_find_response(
|
|
96
96
|
)
|
97
97
|
)
|
98
98
|
|
99
|
-
merged_text_blocks: list[TextBlockMatch]
|
100
|
-
|
101
|
-
|
99
|
+
merged_text_blocks: list[TextBlockMatch]
|
100
|
+
if len(keyword_results) == 0:
|
101
|
+
merged_text_blocks = semantic_results
|
102
|
+
elif len(semantic_results) == 0:
|
103
|
+
merged_text_blocks = keyword_results
|
104
|
+
else:
|
105
|
+
merged_text_blocks = rank_fusion_algorithm.fuse(keyword_results, semantic_results)
|
102
106
|
|
103
107
|
# cut
|
104
108
|
# we assume pagination + predict reranker is forbidden and has been already
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: nucliadb
|
3
|
-
Version: 6.2.1.
|
3
|
+
Version: 6.2.1.post3124
|
4
4
|
Home-page: https://docs.nuclia.dev/docs/management/nucliadb/intro
|
5
5
|
Author: NucliaDB Community
|
6
6
|
Author-email: nucliadb@nuclia.com
|
@@ -22,10 +22,10 @@ Classifier: Programming Language :: Python :: 3.12
|
|
22
22
|
Classifier: Programming Language :: Python :: 3 :: Only
|
23
23
|
Requires-Python: >=3.9, <4
|
24
24
|
Description-Content-Type: text/markdown
|
25
|
-
Requires-Dist: nucliadb-telemetry[all]>=6.2.1.
|
26
|
-
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.2.1.
|
27
|
-
Requires-Dist: nucliadb-protos>=6.2.1.
|
28
|
-
Requires-Dist: nucliadb-models>=6.2.1.
|
25
|
+
Requires-Dist: nucliadb-telemetry[all]>=6.2.1.post3124
|
26
|
+
Requires-Dist: nucliadb-utils[cache,fastapi,storages]>=6.2.1.post3124
|
27
|
+
Requires-Dist: nucliadb-protos>=6.2.1.post3124
|
28
|
+
Requires-Dist: nucliadb-models>=6.2.1.post3124
|
29
29
|
Requires-Dist: nucliadb-admin-assets>=1.0.0.post1224
|
30
30
|
Requires-Dist: nuclia-models>=0.24.2
|
31
31
|
Requires-Dist: uvicorn
|
@@ -210,7 +210,7 @@ nucliadb/search/search/exceptions.py,sha256=mbToQ-ghrv8ukLEv8S_-EZrgweWaIZZ5SIpo
|
|
210
210
|
nucliadb/search/search/fetch.py,sha256=XJHIFnZmXM_8Kb37lb4lg1GYG7cZ1plT-qAIb_QziX4,6184
|
211
211
|
nucliadb/search/search/filters.py,sha256=1MkHlJjAQqoRCj7e5cEzK2HvBxGLE17I_omsjiklbtw,6476
|
212
212
|
nucliadb/search/search/find.py,sha256=yQbttt85wQFc4NEaj2RNGgozP7IQx_bjAOhHke3fXY0,9890
|
213
|
-
nucliadb/search/search/find_merge.py,sha256=
|
213
|
+
nucliadb/search/search/find_merge.py,sha256=5Aqz54E5GG8jw666KNncVHIJcs821ug-YwJ46YL6Br8,17363
|
214
214
|
nucliadb/search/search/graph_strategy.py,sha256=Egcq_zn895gTUYmyQTsXj8YaUMa3HBKhcSa1GBvgzAM,31877
|
215
215
|
nucliadb/search/search/hydrator.py,sha256=-R37gCrGxkyaiHQalnTWHNG_FCx11Zucd7qA1vQCxuw,6985
|
216
216
|
nucliadb/search/search/merge.py,sha256=i_PTBFRqC5iTTziOMEltxLIlmokIou5hjjgR4BnoLBE,22635
|
@@ -330,9 +330,9 @@ nucliadb/writer/tus/local.py,sha256=7jYa_w9b-N90jWgN2sQKkNcomqn6JMVBOVeDOVYJHto,
|
|
330
330
|
nucliadb/writer/tus/s3.py,sha256=vF0NkFTXiXhXq3bCVXXVV-ED38ECVoUeeYViP8uMqcU,8357
|
331
331
|
nucliadb/writer/tus/storage.py,sha256=ToqwjoYnjI4oIcwzkhha_MPxi-k4Jk3Lt55zRwaC1SM,2903
|
332
332
|
nucliadb/writer/tus/utils.py,sha256=MSdVbRsRSZVdkaum69_0wku7X3p5wlZf4nr6E0GMKbw,2556
|
333
|
-
nucliadb-6.2.1.
|
334
|
-
nucliadb-6.2.1.
|
335
|
-
nucliadb-6.2.1.
|
336
|
-
nucliadb-6.2.1.
|
337
|
-
nucliadb-6.2.1.
|
338
|
-
nucliadb-6.2.1.
|
333
|
+
nucliadb-6.2.1.post3124.dist-info/METADATA,sha256=36nzFrswC8y11kJvI4nFHmxM_KHuUdpSunLJXnDCjRA,4603
|
334
|
+
nucliadb-6.2.1.post3124.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
335
|
+
nucliadb-6.2.1.post3124.dist-info/entry_points.txt,sha256=XqGfgFDuY3zXQc8ewXM2TRVjTModIq851zOsgrmaXx4,1268
|
336
|
+
nucliadb-6.2.1.post3124.dist-info/top_level.txt,sha256=hwYhTVnX7jkQ9gJCkVrbqEG1M4lT2F_iPQND1fCzF80,20
|
337
|
+
nucliadb-6.2.1.post3124.dist-info/zip-safe,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
338
|
+
nucliadb-6.2.1.post3124.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|