Add company/uri index

This commit is contained in:
allegroai 2022-09-29 19:40:05 +03:00
parent a0d8aaf3b9
commit ee2a72c70f

View File

@ -36,6 +36,7 @@ class Model(AttributedDocument):
("company", "framework"),
("company", "name"),
("company", "user"),
("company", "uri"),
{
"name": "%s.model.main_text_index" % Database.backend,
"fields": ["$name", "$id", "$comment", "$parent", "$task", "$project"],