Change in facets tests.
authorDennis Schafroth <dennis@indexdata.com>
Wed, 28 Jul 2010 13:13:56 +0000 (15:13 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Wed, 28 Jul 2010 13:13:56 +0000 (15:13 +0200)
Run one termlist cmd long after show (without block) to ensure correct results.

test/test_facets_18.res
test/test_facets_urls

index 83c9b73..76985f5 100644 (file)
@@ -1,11 +1,33 @@
 <termlist>
-<activeclients>1</activeclients>
+<activeclients>0</activeclients>
 <list name="xtargets">
+<term>
+<id>localhost:9999/db1</id>
+<name>db1</name>
+<frequency>7</frequency>
+<state>Client_Idle</state>
+<diagnostic>0</diagnostic>
+</term>
 </list>
 <list name="author">
+<term><name>author0</name><frequency>100</frequency></term>
+<term><name>author1</name><frequency>90</frequency></term>
+<term><name>author2</name><frequency>80</frequency></term>
+<term><name>author3</name><frequency>70</frequency></term>
+<term><name>author4</name><frequency>60</frequency></term>
 </list>
 <list name="subject">
+<term><name>subject0</name><frequency>100</frequency></term>
+<term><name>subject1</name><frequency>90</frequency></term>
+<term><name>subject2</name><frequency>80</frequency></term>
+<term><name>subject3</name><frequency>70</frequency></term>
+<term><name>subject4</name><frequency>60</frequency></term>
 </list>
 <list name="date">
+<term><name>date0</name><frequency>100</frequency></term>
+<term><name>date1</name><frequency>90</frequency></term>
+<term><name>date2</name><frequency>80</frequency></term>
+<term><name>date3</name><frequency>70</frequency></term>
+<term><name>date4</name><frequency>60</frequency></term>
 </list>
 </termlist>
index 4bb0f40..b6ac814 100644 (file)
@@ -15,6 +15,5 @@ http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauth
 http://localhost:9763/search.pz2?session=1&command=search&query=computer
 http://localhost:9763/search.pz2?session=1&command=show
 http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate
-2 http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate
-2 http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate
-2 http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate
+10 http://localhost:9763/search.pz2?session=1&command=termlist&name=xtargets%2Cauthor%2Csubject%2Cdate
+