X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=examples%2Foai-pmh%2FREADME;h=076bf54349e8fe9e6617c2e35f7d5bfd87938f18;hb=1d5d4f08cb84516d75fcb5e6ed4199b6454cccd6;hp=28d96c7537613983243f367593439d889c869780;hpb=e9c13eff03277584496c19487dc6afc4a8db2a4d;p=idzebra-moved-to-github.git diff --git a/examples/oai-pmh/README b/examples/oai-pmh/README index 28d96c7..076bf54 100644 --- a/examples/oai-pmh/README +++ b/examples/oai-pmh/README @@ -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 +