HA3 的main-stable-0.4分支主README.md 查询语法有点问题

Open Beginner friendly
#145 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
65/100
Issue type
Documentation
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
documentation

Research direction

Open /README.md on the main-stable-0.4 branch and locate the Query Demo Index section. Compare the example with curl_http.py usage, update it to include the databaseName parameter, and verify that the documented query no longer produces the reported SQL parsing error.

Written by the indexing model from the issue text.

Description

main-stable-0.4分支的/README.md中的Query Demo Index部分使用示例有问题。

范例给的如下行所示,请求会报sql请求解析错误。
python curl_http.py 45800 "query=select count(*) from in0"

看代码后发现必须加上 databaseName参数,否则请求会被自动过滤。示例如下:
python curl_http.py 45800 "query=select count(*) from in0&&kvpair=databaseName:in0"

1.0版本后面没这个问题,自动加上了databaseName参数。

Dominant language
C++
Stars
1.8k
Forks
352
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from alibaba/havenask

All issues in alibaba/havenask

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.