Добрый день!
При проверке indextool по index у 2-х: products и products_for_suggest возникла одна и та же ошибка:
WARNING: Unable to load header... Error 'synonyms': failed to open exceptions.txt: No such file or directory
FAILED, disk chunk /var/lib/manticore/products/products.58369: prealloc failed: 'synonyms': failed to open exceptions.txt: No such file or directory
checking disk chunk, extension 58358, 1(8)...
WARNING: Unable to load header... Error 'synonyms': failed to open exceptions.txt: No such file or directory
FAILED, disk chunk /var/lib/manticore/products/products.58358: prealloc failed: 'synonyms': failed to open exceptions.txt: No such file or directory
checking disk chunk, extension 58359, 2(8)...
WARNING: Unable to load header... Error 'synonyms': failed to open exceptions.txt: No such file or directory
FAILED, disk chunk /var/lib/manticore/products/products.58359: prealloc failed: 'synonyms': failed to open exceptions.txt: No such file or directory
checking disk chunk, extension 58344, 3(8)...
WARNING: Unable to load header... Error 'synonyms': failed to open exceptions.txt: No such file or directory
FAILED, disk chunk /var/lib/manticore/products/products.58344: prealloc failed: 'synonyms': failed to open exceptions.txt: No such file or directory
checking disk chunk, extension 58370, 4(8)...
WARNING: Unable to load header... Error 'synonyms': failed to open exceptions.txt: No such file or directory
FAILED, disk chunk /var/lib/manticore/products/products.58370: prealloc failed: 'synonyms': failed to open exceptions.txt: No such file or directory
checking disk chunk, extension 58366, 5(8)...
WARNING: Unable to load header... Error 'synonyms': failed to open exceptions.txt: No such file or directory
FAILED, disk chunk /var/lib/manticore/products/products.58366: prealloc failed: 'synonyms': failed to open exceptions.txt: No such file or directory
checking disk chunk, extension 58363, 6(8)...
WARNING: Unable to load header... Error 'synonyms': failed to open exceptions.txt: No such file or directory
FAILED, disk chunk /var/lib/manticore/products/products.58363: prealloc failed: 'synonyms': failed to open exceptions.txt: No such file or directory
checking disk chunk, extension 58368, 7(8)...
WARNING: Unable to load header... Error 'synonyms': failed to open exceptions.txt: No such file or directory
FAILED, disk chunk /var/lib/manticore/products/products.58368: prealloc failed: 'synonyms': failed to open exceptions.txt: No such file or directory
check FAILED, 8 failures reported, 0.0 sec elapsed
При этом сам файл exceptions.txt есть:
root@manticore-msearch-stage:~# ls -l /var/lib/manticore/products/ | grep exceptions
-rw------- 1 manticore manticore 124 янв 24 14:50 exceptions.txt
И содержимое:
root@manticore-msearch-stage:~# cat /var/lib/manticore/products/exceptions.txt
C++ => cplusplus
c++ => cplusplus
С++ => cplusplus
с++ => cplusplus
C# => csharp
c# => csharp
С# => csharp
с# => csharp
products_for_suggest:
mysql> SHOW CREATE TABLE products_for_suggest\G [80/1400]
*************************** 1. row ***************************
Table: products_for_suggest
Create Table: CREATE TABLE products_for_suggest (
id bigint,
title text,
annotation text,
author_full_name_list text,
brand text,
translator_full_name_list text,
series_title text,
publishing_house text,
manufacturer text,
isbn_list text indexed,
item_id text indexed,
category_tree_list text,
tbk_tree_list text,
collection_title_list text,
item_title_synonyms text,
umk_title text,
school_subject_title_list text,
material_type_title text,
school_material_type_title_list text,
manufacturer_brand_title text,
series_id integer,
publishing_house_id integer,
publishing_year integer,
manufacturer_id integer,
available integer,
cover_id integer,
age_id integer,
purchase_month_count integer,
purchase_year_count integer,
education_system_id integer,
umk_id integer,
material_type_id integer,
school_exam_year_id integer,
product_type integer,
sales_started_at timestamp,
is_book bool,
is_new bool,
is_bestseller bool,
is_education_product bool,
is_school_prepare bool,
is_out_of_class_reading bool,
retail_price float,
author_id_list multi,
book_cycle_id_list multi,
category_tree_id_list multi,
school_class_id_list multi,
school_subject_id_list multi,
school_exam_id_list multi,
marketing_status_list multi,
shop_id_list multi,
city_id_list multi,
school_material_type_id_list multi,
school_purpose_id integer,
manufacturer_brand_id integer
) min_prefix_len='3' min_infix_len='3' index_exact_words='1' charset_table='0..9, A..Z->a..z, _, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F, U+0401->U+0435,
U+0451->U+0435, U+401->U+0435, U+451->U+0435' ignore_chars='U+002E, U+005C' exceptions='/var/lib/manticore/products_for_suggest/exceptions.txt' morphology='lem
matize_ru_all, lemmatize_en_all' stopwords='/var/lib/manticore/products_for_suggest/stopwords1.txt /var/lib/manticore/products_for_suggest/stopwords2.txt' expan
d_keywords='1'
1 row in set (0,00 sec)
products:
mysql> SHOW CREATE TABLE products\G
*************************** 1. row ***************************
Table: products
Create Table: CREATE TABLE products (
id bigint,
title text,
annotation text,
author_full_name_list text,
brand text,
translator_full_name_list text,
series_title text,
publishing_house text,
manufacturer text,
isbn_list text indexed,
item_id text indexed,
category_tree_list text,
tbk_tree_list text,
collection_title_list text,
item_title_synonyms text,
umk_title text,
school_subject_title_list text,
material_type_title text,
school_material_type_title_list text,
manufacturer_brand_title text,
series_id integer,
publishing_house_id integer,
publishing_year integer,
manufacturer_id integer,
available integer,
cover_id integer,
age_id integer,
purchase_month_count integer,
purchase_year_count integer,
education_system_id integer,
umk_id integer,
material_type_id integer,
school_exam_year_id integer,
product_type integer,
sales_started_at timestamp,
is_book bool,
is_new bool,
is_bestseller bool,
is_education_product bool,
is_school_prepare bool,
is_out_of_class_reading bool,
retail_price float,
author_id_list multi,
book_cycle_id_list multi,
category_tree_id_list multi,
school_class_id_list multi,
school_subject_id_list multi,
school_exam_id_list multi,
marketing_status_list multi,
shop_id_list multi,
city_id_list multi,
school_material_type_id_list multi,
school_purpose_id integer,
manufacturer_brand_id integer
) index_exact_words='1' charset_table='0..9, A..Z->a..z, _, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F, U+0401->U+0435, U+0451->U+0435, U+401->U+0435, U+451
->U+0435' ignore_chars='U+005C' blend_chars='U+002C, U+002E' blend_mode='trim_tail, trim_none, skip_pure' exceptions='/var/lib/manticore/products/exceptions.txt
' morphology='lemmatize_ru_all, lemmatize_en_all' morphology_skip_fields='author_full_name_list, translator_full_name_list, brand, publishing_house, isbn_list,
item_id' min_stemming_len='4' stopwords='/var/lib/manticore/products/stopwords1.txt /var/lib/manticore/products/stopwords2.txt' expand_keywords='1'
1 row in set (0,00 sec)
Информация о версии Manticore:
Server version: 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
В чем проблема и как исправить?