mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Add Date, Word filter for Org-Music content
This commit is contained in:
parent
182fbbd8df
commit
7216cdff58
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ def configure_search(model: SearchModels, config: FullConfig, regenerate: bool,
|
|||
org_to_jsonl,
|
||||
config.content_type.music,
|
||||
search_config=config.search_type.asymmetric,
|
||||
regenerate=regenerate)
|
||||
regenerate=regenerate,
|
||||
filters=[DateFilter(), WordFilter()])
|
||||
|
||||
# Initialize Markdown Search
|
||||
if (t == SearchType.Markdown or t == None) and config.content_type.markdown:
|
||||
|
|
Loading…
Reference in a new issue