Skip to content

Commit 41e9895

Browse files
committed
fix: [search engine] fix indexs name
1 parent 8f20fa1 commit 41e9895

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/lib/search_engine.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def index_chats_messages():
140140

141141

142142
def index_image_description(image):
143-
index = f'desc:img'
143+
index = f'desc-img'
144144
document = image.get_search_document()
145145
if document:
146146
Engine.add(index, document)
@@ -151,7 +151,7 @@ def index_images_descriptions():
151151

152152

153153
def index_screenshot_description(screenshot):
154-
index = f'desc:screen'
154+
index = f'desc-screen'
155155
document = screenshot.get_search_document()
156156
if document:
157157
Engine.add(index, document)
@@ -162,7 +162,7 @@ def index_screenshots_descriptions():
162162

163163

164164
def index_domain_description(domain_id):
165-
index = f'desc:dom'
165+
index = f'desc-dom'
166166
domain = Domains.Domain(domain_id)
167167
document = domain.get_search_description_document()
168168
if document:

0 commit comments

Comments
 (0)