File: test.xml

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 (55 lines) | stat: -rw-r--r-- 967 bytes parent folder | download | duplicates (4)
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
<?xml version="1.0" encoding="utf-8"?>
<test>
<name>Crashing of indexer id64 with keywords dict</name>
<requires>
<id64/>
</requires>
<config>
indexer
{
	mem_limit		= 64M
}

searchd
{
	<searchd_settings/>
}
source srcmain
{
	type			= mysql
	<sql_settings/>
	sql_query		= SELECT * FROM table141
	sql_attr_uint		= uint1
}

index main
{
	source			= srcmain
	path			= <data_path/>/main
	dict		= keywords
}
</config>

<sphqueries>
<!-- not necessary, by the fact that the indexer will crash -->
<sphinxql>select * from main where match('00001')</sphinxql>
</sphqueries>

<db_create>
CREATE TABLE `table141`
(
	`document_id` int(11) NOT NULL default '0',
	`uint1` int(11) NOT NULL default '0',
	`body` varchar(25) NOT NULL default ''
)
</db_create>

<db_drop>
DROP TABLE IF EXISTS `table141`
</db_drop>

<db_insert>
INSERT INTO `table141` VALUES (1, 1, '00001'), (2, 2, '00002'), (3, 3, '00003')
</db_insert>

</test>