From 43d00072633d57366ae57d146950607d834d6239 Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Fri, 9 Jun 2006 13:20:56 +0000 Subject: [PATCH 1/1] added description of example --- examples/marcxml/README | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/examples/marcxml/README b/examples/marcxml/README index dda140a..6b31438 100644 --- a/examples/marcxml/README +++ b/examples/marcxml/README @@ -9,3 +9,39 @@ environment. http://www.loc.gov/standards/marcxml/ + +To run these examples, try this: + + +../../index/zebraidx init +../../index/zebraidx update collection-*.xml +../../index/zebrasrv + +then start yaz-client and search + +Z> open localhost:9999 +Z> scan @attr 1=4 "" +Z> find @attr 1=4 aida +Z> form xml +Z> elem dc +Z> s 1+1 +Z> elem marc +Z> s 1+1 +Z> elem mads +Z> s 1+1 +Z> elem mods +Z> s 1+1 + +To see how this record has been indexed, try +Z> elem index +Z> s 1+1 + +The indexes can also be acessed using the string names: +Scan 'Author-name-personal' as words +Z> scan @attr 1=Author-name-personal de + +Scan 'Author-name-personal' as phrase +Z> scan @attr 1=Author-name-personal @attr 4=1 @attr 6=2 de + + + -- 1.7.10.4