Skip to content

Commit da590e8

Browse files
authored
Merge pull request #4256 from ClickHouse/Blargian-patch-90
Search: fix bug where keywords are not getting indexed
2 parents 0a8e3da + 58fc176 commit da590e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/search/index_pages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def read_metadata(text):
3838
for part in parts:
3939
parts = part.split(":")
4040
if len(parts) == 2:
41-
if parts[0] in ['title', 'description', 'slug', 'keyword', 'score']:
41+
if parts[0] in ['title', 'description', 'slug', 'keywords', 'score']:
4242
metadata[parts[0]] = int(parts[1].strip()) if parts[0] == 'score' else parts[1].strip()
4343
return metadata
4444

0 commit comments

Comments
 (0)