mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-02 23:48:47 +00:00
feat(wiki): add wiki es search sup (#7087)
* feat(wiki): add wiki es search sup * chore: optimize wiki check * chore: fix index_local path * fix: fix unit test
This commit is contained in:
@@ -657,7 +657,7 @@ def get_seafes_env():
|
||||
def update_search_index():
|
||||
argv = [
|
||||
Utils.get_python_executable(),
|
||||
'-m', 'seafes.index_local',
|
||||
'-m', 'seafes.indexes.repo_file.index_local',
|
||||
'--loglevel', 'debug',
|
||||
'update',
|
||||
]
|
||||
@@ -677,7 +677,7 @@ def delete_search_index():
|
||||
|
||||
argv = [
|
||||
Utils.get_python_executable(),
|
||||
'-m', 'seafes.index_local',
|
||||
'-m', 'seafes.indexes.repo_file.index_local',
|
||||
'--loglevel', 'debug',
|
||||
'clear',
|
||||
]
|
||||
|
Reference in New Issue
Block a user