Andrew Kane
f6ebc5d708
Fixed warning [skip ci]
2024-09-20 13:56:27 -07:00
Andrew Kane
aaff3de409
Free memory [skip ci]
2024-09-19 15:32:22 -07:00
Andrew Kane
4d1c6ff955
Merge branch 'master' into hnsw-streaming
2024-09-19 14:52:34 -07:00
Andrew Kane
f9d68a061a
Simplified HnswLoadUnvisitedFromMemory [skip ci]
2024-09-19 04:39:46 -07:00
Andrew Kane
4f8ab574c9
Simplified CountElement [skip ci]
2024-09-19 04:32:38 -07:00
Andrew Kane
a15806196e
Keep scan-build happy
2024-09-19 04:02:09 -07:00
Andrew Kane
5c9429a0f8
Reduced memory usage for HNSW index scans
2024-09-19 03:27:35 -07:00
Andrew Kane
16ca608f42
Updated AddToVisited to use HnswElementPtr
2024-09-19 02:41:20 -07:00
Andrew Kane
8dde14a736
Reduced memory usage for HNSW index scans
...
Co-authored-by: Heikki Linnakangas <heikki.linnakangas@iki.fi >
2024-09-19 02:17:51 -07:00
Andrew Kane
d74d3065bc
Reduced allocations for pairing heap
2024-09-19 01:59:46 -07:00
Andrew Kane
af1727775d
Added streaming option for HNSW [skip ci]
2024-09-18 14:55:58 -07:00
Andrew Kane
4af5a127e0
Revert "Improved cleanup for IVFFlat index scans [skip ci]"
...
This reverts commit da7d3959a3 .
2024-09-02 01:52:28 -07:00
Andrew Kane
e47984e616
Reset tuple sort for Postgres 12 [skip ci]
2024-08-24 22:10:26 -07:00
Andrew Kane
da7d3959a3
Improved cleanup for IVFFlat index scans [skip ci]
2024-08-24 21:59:44 -07:00
Andrew Kane
dadbbc3758
Renamed InitSortState to InitScanSortState [skip ci]
2024-08-24 21:53:15 -07:00
Andrew Kane
6af0a43d62
Added InitBuildSortState function [skip ci]
2024-08-24 21:50:31 -07:00
Andrew Kane
ffcb90d094
Added InitSortState function [skip ci]
2024-08-24 21:42:18 -07:00
Andrew Kane
8a312c3c8e
Added memory usage for IVFFlat index scans [skip ci]
2024-08-24 21:30:40 -07:00
Andrew Kane
5d86b177ab
Fixed -DIVFFLAT_MEMORY [skip ci]
2024-08-24 20:56:33 -07:00
Andrew Kane
ea99957fae
Added fields to IndexAmRoutine
2024-08-22 20:39:16 -07:00
Samuel Marks
4cede1a9c9
[src/hnswutils.c] Resolve 1 -Wmaybe-uninitialized ( #654 )
2024-08-22 19:51:16 -07:00
Andrew Kane
bb855e6cb4
Updated comment [skip ci]
2024-08-06 10:35:26 -07:00
Andrew Kane
57fb706242
Fixed locking for parallel HNSW index builds - fixes #635
2024-08-04 11:27:51 -07:00
Andrew Kane
6c692ef23f
Fixed compilation error with GCC 14 on i386 when SSE2 is not enabled
2024-07-27 06:20:27 -07:00
Andrew Kane
06d1fa1402
Added alignment check to ensure consistency with PageIndexTupleOverwrite
2024-07-19 15:50:24 -07:00
Andrew Kane
8c5a4bfb6c
Fixed failed to add index item error with sparsevec - fixes #625
2024-07-19 13:54:36 -07:00
Andrew Kane
8772c8de68
Fixed compilation error with FreeBSD ARM
2024-06-30 11:23:39 -07:00
Andrew Kane
61870a0244
Fixed compilation warning with MSVC and Postgres 16 - fixes #598
...
Co-authored-by: Xing Guo <higuoxing@gmail.com >
2024-06-16 12:09:01 -07:00
Andrew Kane
ad7cad5ecd
Improved HnswSearchLayer code
2024-06-11 16:29:14 -07:00
Andrew Kane
2a8b9d689e
Moved check
2024-06-11 15:45:03 -07:00
Andrew Kane
18cd8a60c3
Updated comment [skip ci]
2024-06-10 22:02:40 -07:00
Andrew Kane
8c91a9f56a
Fixed initialization fork for IVFFlat indexes on unlogged tables - #591
2024-06-10 21:55:17 -07:00
Andrew Kane
9e91af5989
Added checks for invalid indexes - #591
2024-06-10 21:20:54 -07:00
Narek Galstyan
9dcf1bdc80
Fix init_fork WAL-logging on unlogged indexes ( #591 )
...
Currently pgvector does not create any WAL records for unlogged tables
Postgres assumes INIT_FORK of unlogged tables is persistent and uses it
to reset the table index to its default empty state after a server
crash.
This patch makes INIT_FORK of unlogged table WAL-tracked, which ensures
an unlogged table is usable after a crash-restart
2024-06-10 21:16:32 -07:00
Andrew Kane
49c1f13095
Improved performance of on-disk HNSW index builds - #570
2024-05-29 12:03:58 -07:00
Andrew Kane
69f49290fb
Fixed compilation warning with Clang < 14 - closes #546
2024-05-07 20:53:41 -07:00
Andrew Kane
ad91451266
Updated changelog and comment [skip ci]
2024-05-07 18:03:21 -07:00
Andrew Kane
cafd2f6641
Updated comment [skip ci]
2024-05-07 17:53:35 -07:00
Andrew Kane
7923c44efe
Switched to __apple_build_version__ [skip ci]
2024-05-07 17:41:16 -07:00
Andrew Kane
9b269e2612
Added separate define for __get_cpuid
2024-05-07 16:55:21 -07:00
Andrew Kane
9894ca3e4e
Fixed error with cross-compiling / universal binaries on Mac - #544 [skip ci]
2024-05-07 16:46:47 -07:00
Andrew Kane
19cbbfdd69
Fixed undefined symbol error with GCC 8 - fixes #538
2024-05-02 07:50:06 -07:00
Andrew Kane
a72511db7f
Removed unneeded comments [skip ci]
2024-04-27 11:43:45 -07:00
Andrew Kane
b15930c9c0
Added comment [skip ci]
2024-04-26 17:43:41 -07:00
Andrew Kane
6f2afb16ff
Use consistent error message for sparsevec index out of bounds [skip ci]
2024-04-26 17:27:09 -07:00
Andrew Kane
0959e69529
Added comments [skip ci]
2024-04-26 17:24:15 -07:00
Andrew Kane
1e94907179
Improved sparsevec error messages [skip ci]
2024-04-26 17:11:11 -07:00
Andrew Kane
ee29c51a49
Added comment [skip ci]
2024-04-25 21:45:26 -07:00
Andrew Kane
13bd194d00
Added comment [skip ci]
2024-04-25 21:35:04 -07:00
Andrew Kane
abad3d81cc
Added comment [skip ci]
2024-04-25 19:51:47 -07:00