Andrew Kane
ba18942fcf
Removed normvec from IVFFlat for simplicity (no difference in performance)
2024-03-27 16:41:17 -07:00
Andrew Kane
10416b841f
Fixed uninitialized memory in scan->xs_recheck [skip ci]
2024-01-27 19:54:16 -08:00
Heikki Linnakangas
f31d708c2b
Add direct include to pairingheap.h in headers
...
ivfflat.h and hnsw.h have references to pairingheap_node, so they need
to include lib/pairingheap.h. It happened to work, because
lib/pairingheap.h was being included indirectly through
nodes/execnodes.h, but let's be explicit.
Remove the include from hnswbuild.c, because there are no calls to
pairingheap functions in that file. Instead, add the includes to
hnswutils.c and ivfscan.c, which do have such calls. They are not
strictly necessary again because of the indirect include from hnsw.h
and ivfflat.h, but let's be explicit while we're messing with this.
2024-01-23 12:53:22 +02:00
Andrew Kane
a1e526ef82
Dropped support for Postgres 11
2024-01-22 23:52:54 -08:00
Andrew Kane
b5b912906b
Added check for MVCC-compliant snapshot and removed marking tuples as dead for IVFFlat index scans - closes #260
2023-10-10 17:28:48 -07:00
Andrew Kane
3431acef94
Improved variable names
2023-09-03 16:49:24 -07:00
Andrew Kane
bbbe1db72b
Improved performance of index scans for IVFFlat after updates and deletes
2023-09-03 14:21:57 -07:00
Andrew Kane
b1f9519689
Get info from metapage to determine cost
2023-09-03 12:31:01 -07:00
Andrew Kane
4571fccc60
Fixed previous commit
2023-09-03 10:51:56 -07:00
Andrew Kane
db747e5aa0
Get lists from metapage
2023-09-03 10:34:44 -07:00
Andrew Kane
4022bb66a0
Improved variable scoping
2023-09-02 21:14:31 -07:00
Andrew Kane
a8e257e1f1
Added comments [skip ci]
2023-08-28 22:02:48 -07:00
Andrew Kane
37b49b0a37
Fixed results for NULL and NaN distances - fixes #205
...
Co-authored-by: Xiaoran Wang <wxiaoran@vmware.com >
2023-08-05 09:36:58 -07:00
Andrew Kane
f4c28b1c06
Improved includes
2023-07-17 13:17:48 -07:00
Andrew Kane
890f189495
Removed todo [skip ci]
2023-07-15 22:37:52 -07:00
Andrew Kane
a912d1af9a
Call FreeAccessStrategy
2023-05-19 13:09:30 -07:00
Andrew Kane
300adba2f1
Updated messages
2023-05-13 20:44:46 -07:00
Andrew Kane
121baa411e
Added debug message for index scan
2023-03-26 12:45:44 -07:00
Andrew Kane
bb75ce2cf2
Fixed index scan count
2023-03-12 12:24:20 -07:00
Andrew Kane
b6f1a82774
Added assertions to scan [skip ci]
2023-01-10 21:07:19 -08:00
Andrew Kane
b09e14ce14
Dropped support for Postgres 10
2022-12-23 08:03:03 -08:00
Andrew Kane
1b5cb17f22
Removed code for Postgres < 10
2022-12-22 21:21:29 -08:00
Andrew Kane
a37f5eea4a
Improved compare method [skip ci]
2022-02-15 11:50:35 -08:00
Andrew Kane
6b9c6516f4
Improved code
2022-02-14 21:41:27 -08:00
Andrew Kane
bf5b2c8d7e
Use tuple id directly
2022-02-14 21:31:08 -08:00
Andrew Kane
ac65ec2856
Improved code [skip ci]
2022-02-14 19:38:59 -08:00
Andrew Kane
310809d0e5
Fixed warnings
2022-02-13 03:03:17 -08:00
Andrew Kane
ce72ca8620
Switched to heap for nearest lists for performance
2022-02-13 02:59:27 -08:00
Andrew Kane
2da27e2f01
Updated name [skip ci]
2022-02-11 15:52:59 -08:00
Andrew Kane
9b46987e73
Added support for benchmarking
2022-02-11 15:48:13 -08:00
Andrew Kane
868e1f99a4
Added todo [skip ci]
2022-02-11 15:14:09 -08:00
Andrew Kane
57e6a01214
Fixed segmentation fault with COUNT - fixes #9
2021-06-09 03:13:22 -07:00
Andrew Kane
a3d946f3bf
Added src directory
2021-04-20 14:43:04 -07:00