You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This integration was based on the Postgres Vector Store implementation:
83
-
84
-
**version = "0.5.5"**
85
-
87
+
### Results
86
88
87
-
However, **`customize_query_fn`** and other Postgres-specific query customization features are **not supported** in this ParadeDB version, as the focus here is on BM25 and hybrid retrieval.
89
+
The following results demonstrate the difference between BM25 and TSVECTOR ranking methods:
88
90
89
-
Feel free to contribute and extend this module further.
91
+
| Method | Rank | Node ID | Score |
92
+
|--------|------|---------|--------|
93
+
| TSVECTOR | Top1 | ccc | 0.060793 |
94
+
| TSVECTOR | Top2 | ddd | 0.060793 |
95
+
| BM25 | Top1 | ddd | 0.678537 |
96
+
| BM25 | Top2 | ccc | 0.507418 |
90
97
98
+
**Key observations**:
99
+
- BM25 produces higher similarity scores overall
100
+
- BM25 shows more differentiation between results (0.678 vs 0.507)
101
+
- TSVECTOR gives equal scores to both results (0.060793)
102
+
- BM25 ranks 'ddd' higher than 'ccc', while TSVECTOR treats them equally
0 commit comments