<?xml version="1.0" encoding="UTF-8"?>
-<search><status>OK</status></search>
\ No newline at end of file
+<settings><status>OK</status></settings>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
-<bytarget><status>OK</status>
-<target><id>z3950.indexdata.com/marc</id>
-<name>Target name</name>
-<hits>0</hits>
-<diagnostic>0</diagnostic>
-<records>0</records>
-<state>Client_Idle</state>
-<settings>
-<set name="pz:elements" value="F"/>
-<set name="pz:requestsyntax" value="marc21"/>
-<set name="pz:cclmap:term" value="u=host_wildcard"/>
-<set name="pz:id" value="z3950.indexdata.com/marc"/>
-<set name="pz:name" value="Target name"/>
-</settings>
-</target></bytarget>
\ No newline at end of file
+<search><status>OK</status></search>
\ No newline at end of file
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<bytarget><status>OK</status>
+<target><id>z3950.indexdata.com/marc</id>
+<name>Target name</name>
+<hits>0</hits>
+<diagnostic>0</diagnostic>
+<records>0</records>
+<state>Client_Idle</state>
+<settings>
+<set name="pz:elements" value="F"/>
+<set name="pz:requestsyntax" value="marc21"/>
+<set name="pz:cclmap:term" value="u=host_wildcard"/>
+<set name="pz:id" value="z3950.indexdata.com/marc"/>
+<set name="pz:name" value="Target name"/>
+<set name="category" value="1"/>
+</settings>
+</target></bytarget>
\ No newline at end of file
http://localhost:9763/search.pz2?session=1&command=init
+http://localhost:9763/search.pz2?session=1&command=settings&category%5Bz3950.indexdata.com%2Fmarc%5D=1
http://localhost:9763/search.pz2?session=1&command=search&query=water
2
http://localhost:9763/search.pz2?session=1&command=bytarget&settings=1