indextool error

Hi,

Running: “indextool --check my_index” I get the following error:

“FAILED unable to open stopwords ‘af,’: No such file or directory”

for all the stopwords files I have in the conf, indexer produce no errors

How can I make sure indexer uses the stopwords files ?

Thanks
Roberto

indexer and daemon should use these files or produce error message on start.
Seems indextool missed some config.

What is your indexer \ indextool start string?

You mean these:

indextool --config /etc/manticoresearch/manticore.conf --check my_index

sudo -H -u manticore /usr/bin/indexer --rotate --config /etc/manticoresearch/manticore.conf my_index

Where do I find these stopwords files on Centos 7 ? any way I can check indextool can “see” them ?

Thanks
r

could be that indexer and indextool run from different user and indextool can not access these files?

Where do I find these stopwords files on Centos 7 ?

Need to look at rpm file to check where stopwords got installed.

if I run indextool as root I get:

indextool --config /etc/manticoresearch/manticore.conf --check test
error: FAILED, unable to open stopwords ‘ru,’: No such file or directory

The rpm puts the files under: /usr/share/manticore/stopwords/

The files are there, they are owned by root but accessible and readable to all.

Seems like indextool is relying on some PATH setup saying where to look for the files ?

Maybe some insights into the indextool source and how it checks for the stopwords files may explain what happens.

could you create ticket at Github as might be indextool path issue