Add search engine support for files (#16190)
* Add search engine support for files * Fixing i18n * Fix golangci-lint * Fix consistency problem in the Search receiver functio of the SqlFileStore * Fixing some tests * Fixing test * Apply suggestions from code review Co-authored-by: Mario de Frutos Dieguez <mario@defrutos.org> * Addressing PR review comments * Removing some empty lines * Address PR review comments * Fixing problem after merge master * Fixing spelling problem * Add missed translations * Fixing certain global variable usages after merge master * Fixing some constants usage * Fixing goimports order Co-authored-by: Mario de Frutos Dieguez <mario@defrutos.org>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
bcacc78f77
Коммит
2a63b5552a
68
i18n/en.json
68
i18n/en.json
@@ -5822,6 +5822,10 @@
|
||||
"id": "bleveengine.create_channel_index.error",
|
||||
"translation": "Error creating the bleve channel index."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.create_file_index.error",
|
||||
"translation": "Error creating the bleve file index."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.create_post_index.error",
|
||||
"translation": "Error creating the bleve post index."
|
||||
@@ -5838,14 +5842,30 @@
|
||||
"id": "bleveengine.delete_channel_posts.error",
|
||||
"translation": "Failed to delete channel posts"
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.delete_file.error",
|
||||
"translation": "Failed to delete the file."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.delete_files_batch.error",
|
||||
"translation": "Failed to delete the files."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.delete_post.error",
|
||||
"translation": "Failed to delete the post."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.delete_post_files.error",
|
||||
"translation": "Fiiled to delete the post files."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.delete_user.error",
|
||||
"translation": "Failed to delete the user."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.delete_user_files.error",
|
||||
"translation": "Failed to delete the user files."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.delete_user_posts.error",
|
||||
"translation": "Failed to delete user posts"
|
||||
@@ -5854,6 +5874,10 @@
|
||||
"id": "bleveengine.index_channel.error",
|
||||
"translation": "Failed to index the channel."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.index_file.error",
|
||||
"translation": "Failed to index the file."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.index_post.error",
|
||||
"translation": "Failed to index the post."
|
||||
@@ -5866,6 +5890,10 @@
|
||||
"id": "bleveengine.indexer.do_job.bulk_index_channels.batch_error",
|
||||
"translation": "Failed to index channel batch."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.indexer.do_job.bulk_index_files.batch_error",
|
||||
"translation": "Failed to index file batch."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.indexer.do_job.bulk_index_posts.batch_error",
|
||||
"translation": "Failed to index post batch."
|
||||
@@ -5910,6 +5938,10 @@
|
||||
"id": "bleveengine.search_channels.error",
|
||||
"translation": "Channel search failed to complete."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.search_files.error",
|
||||
"translation": "File search failed to complete."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.search_posts.error",
|
||||
"translation": "Post search failed to complete."
|
||||
@@ -5930,6 +5962,10 @@
|
||||
"id": "bleveengine.stop_channel_index.error",
|
||||
"translation": "Failed to close channel index."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.stop_file_index.error",
|
||||
"translation": "Failed to close file index."
|
||||
},
|
||||
{
|
||||
"id": "bleveengine.stop_post_index.error",
|
||||
"translation": "Failed to close post index."
|
||||
@@ -6150,6 +6186,10 @@
|
||||
"id": "ent.elasticsearch.create_template_channels_if_not_exists.template_create_failed",
|
||||
"translation": "Failed to create Elasticsearch template for channels"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.create_template_file_info_if_not_exists.template_create_failed",
|
||||
"translation": "Failed to create Elasticsearch template for files"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.create_template_posts_if_not_exists.template_create_failed",
|
||||
"translation": "Failed to create Elasticsearch template for posts"
|
||||
@@ -6174,14 +6214,26 @@
|
||||
"id": "ent.elasticsearch.delete_channel_posts.error",
|
||||
"translation": "Failed to delete channel posts"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.delete_file.error",
|
||||
"translation": "Failed to delete file"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.delete_post.error",
|
||||
"translation": "Failed to delete the post"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.delete_post_files.error",
|
||||
"translation": "Failed to delete post files"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.delete_user.error",
|
||||
"translation": "Failed to delete the user"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.delete_user_files.error",
|
||||
"translation": "Failed to delete user files"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.delete_user_posts.error",
|
||||
"translation": "Failed to delete user posts"
|
||||
@@ -6198,6 +6250,10 @@
|
||||
"id": "ent.elasticsearch.index_channels_batch.error",
|
||||
"translation": "Unable to get the channels batch for indexing."
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.index_file.error",
|
||||
"translation": "Failed to index the file"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.index_post.error",
|
||||
"translation": "Failed to index the post"
|
||||
@@ -6250,6 +6306,18 @@
|
||||
"id": "ent.elasticsearch.search_channels.unmarshall_channel_failed",
|
||||
"translation": "Failed to decode search results"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.search_files.disabled",
|
||||
"translation": "Elasticsearch files searching is disabled on this server"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.search_files.search_failed",
|
||||
"translation": "Search failed to complete"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.search_files.unmarshall_file_failed",
|
||||
"translation": "Failed to decode search results"
|
||||
},
|
||||
{
|
||||
"id": "ent.elasticsearch.search_posts.disabled",
|
||||
"translation": "Elasticsearch searching is disabled on this server"
|
||||
|
||||
Ссылка в новой задаче
Block a user