corrected SRU yazserver setup
[idzebra-moved-to-github.git] / examples / oai-pmh / README
index 28d96c7..076bf54 100644 (file)
@@ -1,6 +1,14 @@
 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
@@ -15,7 +23,7 @@ Checking manually the indexing stylesheet:
 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:
@@ -239,3 +247,19 @@ SRW scan using implicit server side CQL:
    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
+