Create an index
bin/indexer -c etc/sphinx.conf --all
, after running, the following exception error occurred:
using config file 'etc/sphinx.conf'...indexing index 'test1'...collected 4 docs, 0.0 MBsorted 0.0 Mhits, 100.0% donetotal 4 docs, 193 bytestotal 0.006 sec, 28357 bytes/sec, 587.71 docs/sec--- indexing index 'test1stemmed'...ERROR: index 'test1stemmed': infixes and morphology are enabled, enable_star=0---skipping non-plain index 'dist1'...skipping non-plain index 'rt'...total 3 reads, 0.000 sec, 1.9 kb/call avg, 0.0 msec/call avgtotal 9 writes, 0.000 sec, 1.4 kb/call avg, 0.0 msec/call avg
This is the Sphinx index when the read problem, I search content will also have problems, but the content can be searched out ~
Search command: The bin/search -c etc/sphinx.conf test
error is as follows:
words:1. 'test': 3 documents, 5 hits---index 'test1stemmed': search error: failed to open /usr/local/sphinx/var/data/test1stemmed.sph: No such file or directory.---
Seek expert guidance ~ ~
Reply content:
After the index bin/indexer -c etc/sphinx.conf --all
is created, the following exception error occurs after running:
using config file 'etc/sphinx.conf'...indexing index 'test1'...collected 4 docs, 0.0 MBsorted 0.0 Mhits, 100.0% donetotal 4 docs, 193 bytestotal 0.006 sec, 28357 bytes/sec, 587.71 docs/sec--- indexing index 'test1stemmed'...ERROR: index 'test1stemmed': infixes and morphology are enabled, enable_star=0---skipping non-plain index 'dist1'...skipping non-plain index 'rt'...total 3 reads, 0.000 sec, 1.9 kb/call avg, 0.0 msec/call avgtotal 9 writes, 0.000 sec, 1.4 kb/call avg, 0.0 msec/call avg
This is the Sphinx index when the read problem, I search content will also have problems, but the content can be searched out ~
Search command: The bin/search -c etc/sphinx.conf test
error is as follows:
words:1. 'test': 3 documents, 5 hits---index 'test1stemmed': search error: failed to open /usr/local/sphinx/var/data/test1stemmed.sph: No such file or directory.---
Seek expert guidance ~ ~
Add inside the incremental index
Enable_star = 1
Like mine.
Index Deltc:taskquery
{
Source = DELTC
Path =/var/lib/sphinxsearch/data/taskquerydelta
morphology = stem_en
Enable_star = 1
}
In the configuration, the path path of the index is used in absolute path and ensures that there is