alibaba / alibaba/havenask

本地单机用bs重新构建索引后怎么更新searcher?

Open
#101 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.8k
Forks
352
PR merge metrics
No merged PRs in 30d

Description

本地单机用bs重新构建索引后怎么更新searcher?是不是必须得杀掉之前的进程?看了下有个 `local_search_update.py` 这个文件但执行报错:
bash-4.4# /usr/bin/python /ha3_install/usr/local/lib/python/site-packages/ha_tools/local_search_update.py --disableTurbojet -i ./runtimedata/ -c /home/admin/havenask/example/cases/normal/config/online_config -b /ha3_install -p 12000
/home/admin/havenask/example/cases/normal/workdir/local_search_12000
/home/admin/havenask/example/cases/normal/workdir/local_search_12000/ports
12345 57377
12345
get port listArray failed
get port listArray failed

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with ha_tools/local_search_update.py and the reported command, then inspect the generated workdir/local_search_12000/ports and the online_config path. Reproduce the “get port listArray failed” error and trace how the port list is read. Done means documenting or fixing the update flow after rebuilding the index, including whether the existing searcher process must be restarted.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
backend, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.