Skip to content

Commit b689c2d

Browse files
committed
Support sparsevec in weighted vector search function
1 parent 39d6fac commit b689c2d

File tree

6 files changed

+1612
-71
lines changed

6 files changed

+1612
-71
lines changed

docker/Dockerfile.dev

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG VERSION=15
2-
ARG PGVECTOR_VERSION=0.5.1
2+
ARG PGVECTOR_VERSION=0.6.1
33
#fix pg_cron at the latest commit of the time
44
ARG PG_CRON_COMMIT_SHA=7e91e72b1bebc5869bb900d9253cc9e92518b33f
55

@@ -31,7 +31,7 @@ RUN gem install pg -- --with-pg-include=/usr/local/pgsql/include/ --with-pg-lib=
3131
# hack to make sure postgres user has write access to externally mounted volumes
3232
RUN mkdir /lantern_shared && chown postgres:postgres /lantern_shared
3333

34-
RUN cd /root/postgresql-15.5/contrib && make install -j
34+
RUN cd /root/postgresql-15.5/contrib && make install
3535

3636
# allow non-root users to install in the container to make it easier to run update-tests
3737
RUN chmod -R 777 /usr/local/pgsql/lib/ /usr/local/pgsql/share/extension/ /usr/local/pgsql/include/server/
@@ -55,7 +55,7 @@ COPY . .
5555
RUN sudo rm -rf build \
5656
&& mkdir build \
5757
&& cd build \
58-
&& cmake -DCMAKE_BUILD_TYPE=Debug .. \
58+
&& cmake .. \
5959
&& make -j install
6060

6161
# Install benchmarking tools in build folder
@@ -65,7 +65,7 @@ RUN git clone https://github.com/lanterndata/benchmark build/benchmark \
6565
&& pip install -r external/requirements.txt
6666

6767
# Install perf
68-
RUN sudo apt update && sudo apt install -y linux-tools-common linux-tools-generic linux-tools-`uname -r`
68+
RUN sudo apt update && sudo apt install -y linux-tools-common linux-tools-generic
6969
# in host, enable perf_event paranoid via
7070
# echo -1 | sudo tee /proc/sys/kernel/perf_event_paranoid
7171

0 commit comments

Comments
 (0)