A
A
Alf1622015-12-07 16:42:20
Sphinx
Alf162, 2015-12-07 16:42:20

How to run fuzzy search in rt index sphinx?

Good evening.
Search organization problem with * sphinx.
rt index created. In the configuration in various options I tried:

morphology	       = stem_ru
min_prefix_len	       = 1
enable_star 	       = 1
min_infix_len 	       = 1
expand_keywords   = 1
min_word_len	       = 1
dict			        = keywords

Moreover, if there is a word "use", then it finds it when requesting "and *", but ceases to find it when requesting "is *".
What could be the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2015-12-08
@opium


show the sphinx search log in something else

A
Alf162, 2015-12-08
@Alf162

[Mon Dec  7 13:20:30.171 2015] [ 4564] listening on all interfaces, port=5435
[Mon Dec  7 13:20:30.177 2015] [ 4564] listening on 127.0.0.1:9306
[Mon Dec  7 13:20:30.180 2015] [ 4564] binlog: replaying log ./binlog.001
[Mon Dec  7 13:20:30.181 2015] [ 4564] binlog: replay stats: 0 rows in 0 commits; 0 updates, 0 reconfigure; 0 indexes
[Mon Dec  7 13:20:30.181 2015] [ 4564] binlog: finished replaying ./binlog.001; 0.0 MB in 0.000 sec
[Mon Dec  7 13:20:30.181 2015] [ 4564] binlog: finished replaying total 1 in 0.000 sec
[Mon Dec  7 13:20:30.182 2015] [ 4564] accepting connections
[Mon Dec  7 13:26:08.813 2015] [ 4564] caught SIGTERM, shutting down
[Mon Dec  7 13:26:08.883 2015] [ 4564] rt: index indexer_rt: ramchunk saved in 0.007 sec
[Mon Dec  7 13:26:08.986 2015] [ 4564] shutdown complete
[Mon Dec  7 13:27:12.697 2015] [ 3384] listening on all interfaces, port=5435
[Mon Dec  7 13:27:12.700 2015] [ 3384] listening on 127.0.0.1:9306
[Mon Dec  7 13:27:12.703 2015] [ 3384] accepting connections
[Mon Dec  7 13:46:12.484 2015] [ 3384] caught SIGTERM, shutting down
[Mon Dec  7 13:46:12.602 2015] [ 3384] rt: index indexer_rt: ramchunk saved in 0.008 sec
[Mon Dec  7 13:46:12.657 2015] [ 3384] shutdown complete
[Mon Dec  7 13:46:14.045 2015] [  876] listening on all interfaces, port=5435
[Mon Dec  7 13:46:14.048 2015] [  876] listening on 127.0.0.1:9306
[Mon Dec  7 13:46:14.051 2015] [  876] accepting connections
[Mon Dec  7 13:52:07.523 2015] [  876] caught SIGTERM, shutting down
[Mon Dec  7 13:52:07.654 2015] [  876] rt: index indexer_rt: ramchunk saved in 0.006 sec
[Mon Dec  7 13:52:07.665 2015] [  876] shutdown complete
[Mon Dec  7 13:52:09.068 2015] [ 4296] listening on all interfaces, port=5435
[Mon Dec  7 13:52:09.071 2015] [ 4296] listening on 127.0.0.1:9306
[Mon Dec  7 13:52:09.072 2015] [ 4296] WARNING: ERROR: index 'indexer_rt': prefixes and infixes can not both be enabled on all fields - NOT SERVING
[Mon Dec  7 13:52:09.072 2015] [ 4296] FATAL: no valid indexes to serve
[Mon Dec  7 13:53:44.748 2015] [ 3108] listening on all interfaces, port=5435
[Mon Dec  7 13:53:44.751 2015] [ 3108] listening on 127.0.0.1:9306
[Mon Dec  7 13:53:44.754 2015] [ 3108] accepting connections
[Mon Dec  7 13:55:10.782 2015] [ 3108] caught SIGTERM, shutting down
[Mon Dec  7 13:55:10.819 2015] [ 3108] rt: index indexer_rt: ramchunk saved in 0.005 sec
[Mon Dec  7 13:55:10.861 2015] [ 3108] shutdown complete
[Mon Dec  7 13:55:11.740 2015] [ 2236] listening on all interfaces, port=5435
[Mon Dec  7 13:55:11.743 2015] [ 2236] listening on 127.0.0.1:9306
[Mon Dec  7 13:55:11.745 2015] [ 2236] accepting connections
[Mon Dec  7 13:57:21.378 2015] [ 2236] caught SIGTERM, shutting down
[Mon Dec  7 13:57:21.384 2015] [ 2236] rt: index indexer_rt: ramchunk saved in 0.005 sec
[Mon Dec  7 13:57:21.395 2015] [ 2236] shutdown complete
[Mon Dec  7 13:57:21.844 2015] [ 4520] listening on all interfaces, port=5435
[Mon Dec  7 13:57:21.847 2015] [ 4520] listening on 127.0.0.1:9306
[Mon Dec  7 13:57:21.848 2015] [ 4520] WARNING: ERROR: index 'indexer_rt': prefixes and infixes can not both be enabled on all fields - NOT SERVING
[Mon Dec  7 13:57:21.848 2015] [ 4520] FATAL: no valid indexes to serve
[Mon Dec  7 13:57:27.689 2015] [ 3908] listening on all interfaces, port=5435
[Mon Dec  7 13:57:27.692 2015] [ 3908] listening on 127.0.0.1:9306
[Mon Dec  7 13:57:27.694 2015] [ 3908] accepting connections
[Mon Dec  7 13:59:25.487 2015] [ 3908] caught SIGTERM, shutting down
[Mon Dec  7 13:59:25.586 2015] [ 3908] rt: index indexer_rt: ramchunk saved in 0.005 sec
[Mon Dec  7 13:59:25.629 2015] [ 3908] shutdown complete
[Mon Dec  7 13:59:35.324 2015] [ 2324] listening on all interfaces, port=5435
[Mon Dec  7 13:59:35.327 2015] [ 2324] listening on 127.0.0.1:9306
[Mon Dec  7 13:59:35.329 2015] [ 2324] accepting connections
[Mon Dec  7 14:09:58.493 2015] [ 2324] caught SIGTERM, shutting down
[Mon Dec  7 14:09:58.561 2015] [ 2324] rt: index indexer_rt: ramchunk saved in 0.005 sec
[Mon Dec  7 14:09:58.619 2015] [ 2324] shutdown complete
[Mon Dec  7 14:09:59.517 2015] [ 3964] listening on all interfaces, port=5435
[Mon Dec  7 14:09:59.520 2015] [ 3964] listening on 127.0.0.1:9306
[Mon Dec  7 14:09:59.522 2015] [ 3964] accepting connections
[Mon Dec  7 14:42:03.035 2015] [ 3964] caught SIGTERM, shutting down
[Mon Dec  7 14:42:03.053 2015] [ 3964] rt: index indexer_rt: ramchunk saved in 0.002 sec
[Mon Dec  7 14:42:03.097 2015] [ 3964] shutdown complete
[Mon Dec  7 14:42:04.362 2015] [ 2244] listening on all interfaces, port=5435
[Mon Dec  7 14:42:04.365 2015] [ 2244] listening on 127.0.0.1:9306
[Mon Dec  7 14:42:04.368 2015] [ 2244] accepting connections
[Mon Dec  7 15:46:04.611 2015] [ 2244] caught SIGTERM, shutting down
[Mon Dec  7 15:46:04.682 2015] [ 2244] rt: index indexer_rt: ramchunk saved in 0.007 sec
[Mon Dec  7 15:46:04.706 2015] [ 2244] shutdown complete
[Mon Dec  7 15:46:05.346 2015] [ 2736] listening on all interfaces, port=5435
[Mon Dec  7 15:46:05.349 2015] [ 2736] listening on 127.0.0.1:9306
[Mon Dec  7 15:46:05.352 2015] [ 2736] accepting connections
[Mon Dec  7 15:53:58.432 2015] [ 2736] caught SIGTERM, shutting down
[Mon Dec  7 15:53:58.512 2015] [ 2736] rt: index indexer_rt: ramchunk saved in 0.001 sec
[Mon Dec  7 15:53:58.605 2015] [ 2736] shutdown complete
[Mon Dec  7 15:54:00.308 2015] [ 2712] listening on all interfaces, port=5435
[Mon Dec  7 15:54:00.311 2015] [ 2712] listening on 127.0.0.1:9306
[Mon Dec  7 15:54:00.315 2015] [ 2712] accepting connections
[Mon Dec  7 16:01:56.821 2015] [ 2712] caught SIGTERM, shutting down
[Mon Dec  7 16:01:56.921 2015] [ 2712] rt: index indexer_rt: ramchunk saved in 0.005 sec
[Mon Dec  7 16:01:57.025 2015] [ 2712] shutdown complete
[Mon Dec  7 16:01:58.250 2015] [ 3828] listening on all interfaces, port=5435
[Mon Dec  7 16:01:58.253 2015] [ 3828] listening on 127.0.0.1:9306
[Mon Dec  7 16:01:58.256 2015] [ 3828] accepting connections
[Mon Dec  7 16:08:11.362 2015] [ 3828] caught SIGTERM, shutting down
[Mon Dec  7 16:08:11.415 2015] [ 3828] rt: index indexer_rt: ramchunk saved in 0.005 sec
[Mon Dec  7 16:08:11.473 2015] [ 3828] shutdown complete
[Mon Dec  7 16:08:33.491 2015] [ 3964] listening on all interfaces, port=5435
[Mon Dec  7 16:08:33.495 2015] [ 3964] listening on 127.0.0.1:9306
[Mon Dec  7 16:08:33.497 2015] [ 3964] accepting connections
[Mon Dec  7 16:08:52.051 2015] [ 3964] caught SIGTERM, shutting down
[Mon Dec  7 16:08:52.120 2015] [ 3964] rt: index indexer_rt: ramchunk saved in 0.006 sec
[Mon Dec  7 16:08:52.145 2015] [ 3964] shutdown complete
[Mon Dec  7 16:08:52.775 2015] [ 3344] listening on all interfaces, port=5435
[Mon Dec  7 16:08:52.778 2015] [ 3344] listening on 127.0.0.1:9306
[Mon Dec  7 16:08:52.778 2015] [ 3344] WARNING: WARNING: index 'indexer_rt': prefix_fields and infix_fields has no effect with dict=keywords, ignoring

[Mon Dec  7 16:08:52.781 2015] [ 3344] accepting connections
[Mon Dec  7 16:11:47.905 2015] [ 3344] caught SIGTERM, shutting down
[Mon Dec  7 16:11:47.989 2015] [ 3344] rt: index indexer_rt: ramchunk saved in 0.005 sec
[Mon Dec  7 16:11:48.031 2015] [ 3344] shutdown complete
[Mon Dec  7 16:11:48.728 2015] [  192] listening on all interfaces, port=5435
[Mon Dec  7 16:11:48.731 2015] [  192] listening on 127.0.0.1:9306
[Mon Dec  7 16:11:48.731 2015] [  192] WARNING: WARNING: index 'indexer_rt': prefix_fields and infix_fields has no effect with dict=keywords, ignoring

[Mon Dec  7 16:11:48.734 2015] [  192] accepting connections
[Mon Dec  7 16:15:37.668 2015] [  192] caught SIGTERM, shutting down
[Mon Dec  7 16:15:37.752 2015] [  192] rt: index indexer_rt: ramchunk saved in 0.005 sec
[Mon Dec  7 16:15:37.857 2015] [  192] shutdown complete
[Mon Dec  7 16:15:39.810 2015] [ 4580] listening on all interfaces, port=5435
[Mon Dec  7 16:15:39.813 2015] [ 4580] listening on 127.0.0.1:9306
[Mon Dec  7 16:15:39.816 2015] [ 4580] accepting connections
[Mon Dec  7 16:20:45.550 2015] [ 4580] caught SIGTERM, shutting down
[Mon Dec  7 16:20:45.589 2015] [ 4580] rt: index indexer_rt: ramchunk saved in 0.007 sec
[Mon Dec  7 16:20:45.613 2015] [ 4580] shutdown complete
[Mon Dec  7 16:20:47.837 2015] [ 3236] listening on all interfaces, port=5435
[Mon Dec  7 16:20:47.840 2015] [ 3236] listening on 127.0.0.1:9306
[Mon Dec  7 16:20:47.844 2015] [ 3236] accepting connections
[Mon Dec  7 16:21:56.404 2015] [ 3236] caught SIGTERM, shutting down
[Mon Dec  7 16:21:56.474 2015] [ 3236] rt: index indexer_rt: ramchunk saved in 0.007 sec
[Mon Dec  7 16:21:56.562 2015] [ 3236] shutdown complete
[Mon Dec  7 16:22:01.468 2015] [ 4252] listening on all interfaces, port=5435
[Mon Dec  7 16:22:01.472 2015] [ 4252] listening on 127.0.0.1:9306
[Mon Dec  7 16:22:01.475 2015] [ 4252] accepting connections
[Mon Dec  7 16:30:42.807 2015] [ 4252] caught SIGTERM, shutting down
[Mon Dec  7 16:30:42.845 2015] [ 4252] rt: index indexer_rt: ramchunk saved in 0.005 sec
[Mon Dec  7 16:30:42.855 2015] [ 4252] shutdown complete
[Mon Dec  7 16:30:43.833 2015] [ 2728] listening on all interfaces, port=5435
[Mon Dec  7 16:30:43.836 2015] [ 2728] listening on 127.0.0.1:9306
[Mon Dec  7 16:30:43.838 2015] [ 2728] accepting connections
[Mon Dec  7 16:30:54.431 2015] [ 2728] caught SIGTERM, shutting down
[Mon Dec  7 16:30:54.469 2015] [ 2728] rt: index indexer_rt: ramchunk saved in 0.006 sec
[Mon Dec  7 16:30:54.495 2015] [ 2728] shutdown complete

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question