Answer the question
In order to leave comments, you need to log in
How to setup Plain index in Manticore Search server?
I decided to try to start a Manticore Search server here. According to instructions.
I installed it from the package because the repository didn't want to work `manticore_3.5.4-201211-13f8d08_amd64.deb`
I started `systemctl start manticore` The service started.
I tried to work with Real-time index. Created the table wrote down something there, found - plows.
Decided to set up Plain index. Added config:
`manticore.conf`
source source
{
type = pgsql
sql_host = localhost
sql_user = user
sql_pass = pass
sql_db = db
sql_query = SELECT id, name FROM products
sql_attr_uint = id
sql_field_string = name
}
index idx
{
type = plain
source = source
path = /var/lib/manticore/idx/
}
searchd
{
listen = 127.0.0.1:9312
listen = 127.0.0.1:9306:mysql
listen = 127.0.0.1:9308:http
log = /var/log/manticore/searchd.log
query_log = /var/log/manticore/query.log
pid_file = /var/run/manticore/searchd.pid
data_dir = /var/lib/manticore
query_log_format = sphinxql
}
мар 05 18:58:35 systemd[1]: manticore.service: Start request repeated too quickly.
мар 05 18:58:35 systemd[1]: Failed to start Manticore Search Engine.
-- Subject: Ошибка юнита manticore.service
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Произошел сбой юнита manticore.service.
--
-- Результат: failed.
мар 05 18:58:35 systemd[1]: manticore.service: Unit entered failed state.
мар 05 18:58:35 systemd[1]: manticore.service: Failed with result 'start-limit-hit'.
source source
{
type = pgsql
sql_host = localhost
sql_user = user
sql_pass = pass
sql_db = db
sql_query = SELECT id, name FROM products
sql_attr_uint = id
sql_field_string = name
}
index idx
{
type = plain
source = source
path = /var/lib/manticore/idx/
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question