Example DOM XML filter configuration using XSLT stylesheets
+Get some more data to play with:
+
+ cd data
+ fetch_OAI_data.sh
+ (stop the script when you get tired waiting ..)
+ cd ../
+
+
Checking manually the retrieval stylesheets:
cat data/debug-record.xml
Indexing:
zebraidx -c conf/zebra.cfg init
- zebraidx -c conf/zebra.cfg update data/oai-caltech.xml
+ zebraidx -c conf/zebra.cfg update data
zebraidx -c conf/zebra.cfg commit
(in case you have not installed zebra yet, use the following command:
Notice: you need to use the 'eq' relation for all @attr 4=3 indexes
+
+
+SRW search using X-PQF query
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=dc
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::data
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::meta
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::index::dc_description
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::snippet
+
+http://localhost:9999/?version=1.1&operation=searchRetrieve&x-pquery=fish&startRecord=1&maximumRecords=1&recordSchema=zebra::facet::dc_description:w
+