Настройка поиска

MSE-Script

Developer
Команда форума
Сообщения
864
Реакции
309
www@v403205:/var/www/html/api.___.ru$ php -f bash/sphinxInit.php

sudo add-apt-repository ppa:builds/sphinxsearch-rel21
sudo apt-get update
sudo apt-get install sphinxsearch

www@v403205:/var/www/html/api.___.ru$ indexer --config runtime/sphinx/main.conf --all
Sphinx 2.2.11-id64-release (95ae9a6)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file 'runtime/sphinx/main.conf'...
indexing index 'track'...
WARNING: attribute 'search_index' not found - IGNORING
WARNING: Attribute count is 0: switching to none docinfo
collected 1371229 docs, 314.1 MB
sorted 46.2 Mhits, 100.0% done
total 1371229 docs, 314084233 bytes
total 97.100 sec, 3234637 bytes/sec, 14121.77 docs/sec
total 36 reads, 0.101 sec, 7424.7 kb/call avg, 2.8 msec/call avg
total 649 writes, 0.350 sec, 751.0 kb/call avg, 0.5 msec/call avg
www@v403205:/var/www/html/api.___.ru$ searchd --config runtime/sphinx/main.conf
Sphinx 2.2.11-id64-release (95ae9a6)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)

using config file 'runtime/sphinx/main.conf'...
listening on 127.0.0.1:9312
listening on 127.0.0.1:9306
precaching index 'track'
precached 1 indexes in 0.038 sec
 
Сверху