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 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
|
<?xml version="1.0" encoding="utf-8"?>
<test>
<name>sv-base indexing 1</name>
<config>
indexer
{
mem_limit = 16M
}
searchd
{
<searchd_settings/>
}
source src11
{
type = xmlpipe2
xmlpipe_command = cat <this_test/>/data1.xml
xmlpipe_field = title
xmlpipe_field = content
xmlpipe_attr_uint = gid
xmlpipe_attr_uint = uid
xmlpipe_attr_uint = gid
}
index xml11
{
source = src11
path = <data_path/>/xml11
docinfo = extern
dict = keywords
}
source src12
{
type = xmlpipe2
xmlpipe_command = cat <this_test/>/data1.xml
xmlpipe_field = title
xmlpipe_field = content
xmlpipe_attr_uint = gid
xmlpipe_attr_uint = uid
}
index xml12
{
source = src12
path = <data_path/>/xml12
docinfo = extern
dict = keywords
}
source src21
{
type = tsvpipe
tsvpipe_command = cat <this_test/>/data1.tsv
tsvpipe_field = title
tsvpipe_field = content
tsvpipe_attr_uint = gid
tsvpipe_attr_uint = uid
tsvpipe_attr_uint = gid
}
index tsv21
{
source = src21
path = <data_path/>/tsv21
docinfo = extern
dict = keywords
}
source src22
{
type = tsvpipe
tsvpipe_command = cat <this_test/>/data1.tsv
tsvpipe_field = title
tsvpipe_field = content
tsvpipe_attr_uint = gid
tsvpipe_attr_uint = uid
}
index tsv22
{
source = src22
path = <data_path/>/tsv22
docinfo = extern
dict = keywords
}
source src31
{
type = csvpipe
csvpipe_command = cat <this_test/>/data1.csv
csvpipe_field = title
csvpipe_field = content
csvpipe_attr_uint = gid
csvpipe_attr_uint = uid
csvpipe_attr_uint = gid
}
index csv31
{
source = src31
path = <data_path/>/csv31
docinfo = extern
dict = keywords
}
source src32
{
type = csvpipe
csvpipe_command = cat <this_test/>/data1.csv
csvpipe_field = title
csvpipe_field = content
csvpipe_attr_uint = gid
csvpipe_attr_uint = uid
}
index csv32
{
source = src32
path = <data_path/>/csv32
docinfo = extern
dict = keywords
}
</config>
<sphqueries>
<sphinxql>SELECT * FROM xml11 ORDER BY id asc</sphinxql>
<sphinxql>SELECT * FROM xml12 ORDER BY id asc</sphinxql>
<sphinxql>SELECT * FROM tsv21 ORDER BY id asc</sphinxql>
<sphinxql>SELECT * FROM tsv22 ORDER BY id asc</sphinxql>
<sphinxql>SELECT * FROM csv31 ORDER BY id asc</sphinxql>
<sphinxql>SELECT * FROM csv32 ORDER BY id asc</sphinxql>
</sphqueries>
</test>
|