File: smoke_test.conf

package info (click to toggle)
sphinxsearch 2.2.11-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 25,720 kB
  • sloc: cpp: 102,259; xml: 85,608; sh: 9,259; php: 3,790; ansic: 3,158; yacc: 1,969; java: 1,336; ruby: 1,289; python: 1,062; pascal: 912; perl: 381; lex: 275; makefile: 150; sql: 77; cs: 35
file content (56 lines) | stat: -rw-r--r-- 1,062 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

source src1
{
	type			= mysql

	sql_host		= localhost
	sql_user		= test
	sql_pass		=
	sql_db			= test
	sql_port		= 3306	# optional, default is 3306

	sql_query		=  SELECT id, id as idd, group_id, title, content FROM documents

	sql_attr_uint	= group_id
	sql_attr_uint	= idd
	sql_attr_multi  = uint tag from query; SELECT docid, tagid FROM tags
	sql_attr_multi  = bigint tag64 from query; SELECT docid, tagid FROM tags
	sql_attr_multi  = uint tag2 from query; SELECT docid, tagid FROM tags
}


index test1
{
	source			= src1
	path			= ../../test/data/test1
	docinfo			= extern
}

index dist
{
	type			= distributed
	agent			= 127.0.0.1:10312:test1
	agent_connect_timeout	= 1000
	agent_query_timeout		= 3000	
}


indexer
{
	mem_limit		= 32M
}


searchd
{
	listen			= 10312
	listen			= 10306:mysql41
	read_timeout	= 5
	max_children	= 30
	pid_file		= searchd.pid
	log			= ../../test/searchd.log
	query_log		= ../../test/query.log
	workers			= threads # for RT to work
	binlog_path		=
	max_packet_size = 16M
}