Skip to content

Commit d498c5d

Browse files
committed
Update version info to 0.6.0.dev3 (#2511)
### What problem does this PR solve? Update version info. ### Type of change - [x] Refactoring - [x] Python SDK impacted, Need to update PyPI Signed-off-by: Jin Hai <[email protected]>
1 parent 188a3eb commit d498c5d

File tree

15 files changed

+26
-22
lines changed

15 files changed

+26
-22
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Supports a wide range of data types including strings, numerics, vectors, and mo
6060
Infinity supports two working modes, embedded mode and client-server mode. Infinity's embedded mode enables you to quickly embed Infinity into your Python applications, without the need to connect to a separate backend server. The following shows how to operate in embedded mode:
6161

6262
```bash
63-
pip install infinity-embedded-sdk==0.6.0.dev2
63+
pip install infinity-embedded-sdk==0.6.0.dev3
6464
```
6565
Use Infinity to conduct a dense vector search:
6666
```python

benchmark/remote_infinity/remote_query_benchmark.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ struct InfinityClient {
5151
transport->open();
5252
CommonResponse response;
5353
ConnectRequest request;
54-
request.__set_client_version(28); // 0.6.0.dev1 and 0.6.0.dev2
54+
request.__set_client_version(29); // 0.6.0.dev3
5555
client->Connect(response, request);
5656
session_id = response.session_id;
5757
}

client/cpp/infinity_client.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Client Client::Connect(const std::string &ip_address, uint16_t port) {
2525
transport->open();
2626
CommonResponse response;
2727
ConnectRequest request;
28-
request.__set_client_version(28); // 0.6.0.dev1 and 0.6.0.dev2
28+
request.__set_client_version(29); // 0.6.0.dev3
2929
client->Connect(response, request);
3030
return {socket, transport, protocol, std::move(client), response.session_id};
3131
}

docs/getstarted/build_from_source.mdx

+3-3
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ cmake --build . -t test_main
264264

265265
2. Install Python sdk of infinity:
266266
```bash
267-
pip install infinity-sdk==0.6.0.dev2
267+
pip install infinity-sdk==0.6.0.dev3
268268
```
269269

270270
3. Run the functional tests:
@@ -286,7 +286,7 @@ cmake --build . -t test_main
286286

287287
2. Install Python sdk of infinity:
288288
```bash
289-
pip install infinity-sdk==0.6.0.dev2
289+
pip install infinity-sdk==0.6.0.dev3
290290
```
291291

292292
3. Run the functional tests:
@@ -309,7 +309,7 @@ cmake --build . -t test_main
309309

310310
2. Install Python sdk of infinity:
311311
```bash
312-
pip install infinity-sdk==0.6.0.dev2
312+
pip install infinity-sdk==0.6.0.dev3
313313
```
314314

315315
3. Run the functional tests:

docs/getstarted/deploy_infinity_server.mdx

+5-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ This approach allows you to call Infinity as a Python module. To deploy Infinity
3434
### Install Infinity as a module
3535

3636
```
37-
pip install infinity-embedded-sdk==0.6.0.dev2
37+
pip install infinity-embedded-sdk==0.6.0.dev3
3838
```
3939

4040
### Create an Infinity object
@@ -101,7 +101,7 @@ If you are on Windows 10+, you must enable WSL or WSL2 to deploy Infinity using
101101
### Install Infinity client
102102

103103
```
104-
pip install infinity-sdk==0.6.0.dev2
104+
pip install infinity-sdk==0.6.0.dev3
105105
```
106106

107107
### Run a vector search
@@ -151,7 +151,7 @@ This section provides instructions on deploying Infinity using binary package on
151151

152152
Fedora/RHEL/CentOS/OpenSUSE
153153
```bash
154-
sudo rpm -i infinity-0.6.0.dev2-x86_64.rpm
154+
sudo rpm -i infinity-0.6.0.dev3-x86_64.rpm
155155
```
156156

157157
```bash
@@ -162,7 +162,7 @@ sudo systemctl start infinity
162162
<TabItem value="ubuntu">
163163

164164
```bash
165-
sudo dpkg -i infinity-0.6.0.dev2-x86_64.deb
165+
sudo dpkg -i infinity-0.6.0.dev3-x86_64.deb
166166
```
167167

168168
```bash
@@ -175,7 +175,7 @@ sudo systemctl start infinity
175175
### Install Infinity client
176176

177177
```
178-
pip install infinity-sdk==0.6.0.dev2
178+
pip install infinity-sdk==0.6.0.dev3
179179
```
180180

181181
### Run a vector search

docs/getstarted/quickstart.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ If you wish to embed Infinity into your Python application without the need for
2121

2222
1. Install the Infinity-embedded SDK:
2323
```bash
24-
pip install infinity-embedded-sdk==0.6.0.dev2
24+
pip install infinity-embedded-sdk==0.6.0.dev3
2525
```
2626
2. Use Infinity to conduct a dense vector search:
2727
```python

docs/guides/search_guide.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Infinity supports the following syntax or full-text search expressions:
9191
- AND multiple terms
9292
- OR multiple terms
9393
- Phrase search
94-
- CARAT opertor
94+
- CARAT operator
9595
- Sloppy phrase search
9696
- Field-specific search
9797
- Escape character
@@ -164,7 +164,7 @@ Infinity supports real-time sparse vector search, which is based on a sparse vec
164164

165165
Tensors work in scenarios where embeddings of all tokens of each document need to be preserved. Tensor is another form of multi-vector, but *not* the multi-vector mentioned in dense vector search. They share similarities but are different in several aspects:
166166

167-
Multi-vectors are mainly used for dense vector search, while tensors are mainly used for tensor reranking. Tensor search is *not* recommended due to the potential for significant storage overhead when converting raw documents to tensors; tensors are more appropriate for reranking in a [hyprid search](#hybrid-search).
167+
Multi-vectors are mainly used for dense vector search, while tensors are mainly used for tensor reranking. Tensor search is *not* recommended due to the potential for significant storage overhead when converting raw documents to tensors; tensors are more appropriate for reranking in a [hybrid search](#hybrid-search).
168168

169169
A multi-vector search remains a KNN search, where search results are aggregated using vector identifiers. In contrast, a tensor search uses 'Colxxx' models, such as ColBERT, ColPali, and ColQwen2. In this context, 'Col' denotes 'contextualized late interaction' and 'xxx' refers to specific models that can be added using a 'Col adapter'. Additionally, a tensor search uses the MaxSim method for similarity operations, which accumulates similarities of all embedding pairs between a query tensor and a document tensor.
170170

@@ -209,4 +209,4 @@ Filters based on secondary index can have arbitrary logical combinations. Suppor
209209

210210
### Full-text index filters
211211

212-
Infinity's full-text index supports conditional filtering through the `filter_fulltext` parameter. Full-text index filters are keyword-based and do not support the expressions available for secondary index filters. They use the `minimum_should_match` parameter to specify the minimum number of keywords that must be satisfied during fitlering.
212+
Infinity's full-text index supports conditional filtering through the `filter_fulltext` parameter. Full-text index filters are keyword-based and do not support the expressions available for secondary index filters. They use the `minimum_should_match` parameter to specify the minimum number of keywords that must be satisfied during filtering.

example/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
The Python scripts in the current directory provides the examples of the infinity SDK API. Before running these scripts, please ensure that the correct version of infinity SDK is installed. If you are using the server version of Infinity, you can use the following command to install it
66

77
```shell
8-
pip install infinity-sdk==0.6.0.dev2
8+
pip install infinity-sdk==0.6.0.dev3
99
```
1010

1111
To use Infinity locally as a Python module, install the Infinity Embedded SDK:
1212

1313
```shell
14-
pip install infinity-embedded-sdk==0.6.0.dev2
14+
pip install infinity-embedded-sdk==0.6.0.dev3
1515
```
1616

1717
Once the installation completes, run some simple examples:

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ build-backend = "scikit_build_core.build"
1111

1212
[project]
1313
name = "infinity_embedded_sdk"
14-
version = "0.6.0.dev2"
14+
version = "0.6.0.dev3"
1515
requires-python = ">=3.10"
1616
dependencies = [
1717
"sqlglot~=11.7.0",

python/infinity_sdk/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Infinity supports two working modes, embedded mode and client-server mode. The f
6363

6464
2. Install the `infinity-sdk` package:
6565
```bash
66-
pip install infinity-sdk==0.6.0.dev2
66+
pip install infinity-sdk==0.6.0.dev3
6767
```
6868

6969
3. Use Infinity to conduct a dense vector search:

python/infinity_sdk/infinity/remote_thrift/client.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ def _reconnect(self):
9999
# version: 0.5.0.dev4 and 0.5.0.dev5, client_version: 26
100100
# version: 0.5.0.dev6 and 0.5.0.dev7 and 0.5.0 and 0.5.1 and 0.5.2, client_version: 27
101101
# version: 0.6.0.dev1 and 0.6.0.dev2, client_version: 28
102-
res = self.client.Connect(ConnectRequest(client_version=28)) # 0.6.0.dev1 and 0.6.0.dev2
102+
# version: 0.6.0.dev3, client_version: 29
103+
res = self.client.Connect(ConnectRequest(client_version=29)) # 0.6.0.dev3
103104
if res.error_code != 0:
104105
raise InfinityException(res.error_code, res.error_msg)
105106
self.session_id = res.session_id

python/infinity_sdk/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "infinity-sdk"
3-
version = "0.6.0.dev2"
3+
version = "0.6.0.dev3"
44
requires-python = ">=3.10"
55
dependencies = [
66
"sqlglot~=11.7.0",

src/network/infinity_thrift_service.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ ClientVersions::ClientVersions() {
9696
client_version_map_[26] = String("0.5.0.dev5");
9797
client_version_map_[27] = String("0.5.2");
9898
client_version_map_[28] = String("0.6.0.dev2");
99+
client_version_map_[29] = String("0.6.0.dev3");
99100
}
100101

101102
Pair<const char *, Status> ClientVersions::GetVersionByIndex(i64 version_index) {

src/network/infinity_thrift_service.cppm

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ struct ClientVersions {
6060
export class InfinityThriftService final : public infinity_thrift_rpc::InfinityServiceIf {
6161
private:
6262
static constexpr std::string_view ErrorMsgHeader = "[THRIFT ERROR]";
63-
static constexpr i64 current_version_index_{28}; // 0.6.0.dev1 and 0.6.0.dev2
63+
static constexpr i64 current_version_index_{29}; // 0.6.0.dev3
6464

6565
static std::mutex infinity_session_map_mutex_;
6666
static HashMap<u64, SharedPtr<Infinity>> infinity_session_map_;

src/planner/binder/project_binder.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
module;
1616

17+
#include <string>
18+
1719
module project_binder;
1820

1921
import stl;

0 commit comments

Comments
 (0)