"Fossies" - the Fresh Open Source Software Archive

Member "sphinx-2.2.11-release/test/test_157/test.xml" (19 Jul 2016, 918 Bytes) of package /linux/www/sphinx-2.2.11-release.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <?xml version="1.0" encoding="utf-8"?>
    2 <test>
    3 
    4 <name>quorum vs ranker Reset</name>
    5 
    6 <skip_indexer/>
    7 
    8 <config>
    9 indexer
   10 {
   11     mem_limit       = 16M
   12 }
   13 
   14 searchd
   15 {
   16     <searchd_settings/>
   17     workers = threads
   18 }
   19 
   20 index rt
   21 {
   22     type            = rt
   23     docinfo         = extern
   24     path            = <data_path/>/rt
   25 
   26     rt_attr_uint    = idd
   27     rt_field        = body
   28     
   29     rt_mem_limit    = 8M 
   30 }
   31 </config>
   32 
   33 <sphqueries>
   34 <sphinxql>insert into rt (id, idd, body) values ( 1, 11, 'this is cool place' )</sphinxql>
   35 <sphinxql>insert into rt (id, idd, body) values ( 2, 11, 'cool place is like no other' )</sphinxql>
   36 <sphinxql>insert into rt (id, idd, body) values ( 3, 11, 'place is cool becouse there is no things like this' )</sphinxql>
   37 <sphinxql>select * from rt where match ('"is cool place"/3') order by id asc</sphinxql>
   38 <sphinxql>select * from rt where match ('"there things is cool place"/3') order by id asc</sphinxql>
   39 </sphqueries>
   40 
   41 </test>