-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Перенёс тесты в отдельную папку, отдельный конфиг, tsv-источник
- Loading branch information
Serge Shirokov
committed
Dec 5, 2014
1 parent
5910c01
commit 3083154
Showing
6 changed files
with
75 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
1 Led Zeppelin Some description. 35,23,16 5 | ||
2 Daft Punk Some more strange description. 12 7 | ||
3 Brainstorm No, not the Magic card. 1 9 |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# | ||
# Minimal Sphinx configuration sample (clean, simple, functional) | ||
# | ||
source tsv_test | ||
{ | ||
type = tsvpipe | ||
} | ||
source src1 | ||
{ | ||
type = tsvpipe | ||
tsvpipe_command = cat D:\Source\Repos\limestone\tests\bands.tsv | ||
tsvpipe_field = name | ||
tsvpipe_field = desc | ||
tsvpipe_attr_multi = genre_tags | ||
tsvpipe_attr_uint = singer_id | ||
} | ||
|
||
|
||
index test1 | ||
{ | ||
source = src1 | ||
path = D:\WORK\Sphinx\test | ||
} | ||
|
||
|
||
#index testrt | ||
#{ | ||
# type = rt | ||
# rt_mem_limit = 128M | ||
# | ||
# path = @CONFDIR@/data/testrt | ||
# | ||
# rt_field = title | ||
# rt_field = content | ||
# rt_attr_uint = gid | ||
#} | ||
|
||
|
||
indexer | ||
{ | ||
mem_limit = 128M | ||
} | ||
|
||
|
||
searchd | ||
{ | ||
listen = 9312 | ||
listen = 9306:mysql41 | ||
log = D:\WORK\logs\searchd.log | ||
query_log = D:\WORK\logs\sphinx-query.log | ||
read_timeout = 5 | ||
max_children = 30 | ||
pid_file = D:\WORK\Sphinx\sphinx.pid | ||
seamless_rotate = 1 | ||
preopen_indexes = 1 | ||
unlink_old = 1 | ||
workers = threads # for RT to work | ||
binlog_path = D:\WORK\Sphinx\data | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters