Rolling
[irspy-moved-to-github.git] / archive / bib-1-attributes
1 From mike  Tue Jun  5 22:12:54 2007
2 X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
3         ["4761" "Tuesday" "5" "June" "2007" "22:40:22" "+0200" "Marc Cromme" "marc@indexdata.dk" nil "185" "Re: [Zebralist] zebra 2.0 with domxml" "^From:" nil nil "6" nil nil nil nil nil nil nil nil nil]
4         nil)
5 Return-path: <zebralist-bounces@lists.indexdata.dk>
6 Envelope-to: mike@indexdata.com
7 Delivery-date: Tue, 05 Jun 2007 22:40:58 +0200
8 Received: from bagel.indexdata.dk [213.150.43.11]
9         by localhost.localdomain with POP3 (fetchmail-6.3.6)
10         for <mike@localhost> (single-drop); Tue, 05 Jun 2007 22:12:54 +0100 (BST)
11 Received: from kebab.indexdata.dk ([83.133.64.60])
12         by bagel.indexdata.dk with esmtp (Exim 4.50)
13         id 1Hvfpq-0002lj-28; Tue, 05 Jun 2007 22:40:58 +0200
14 Received: from localhost ([127.0.0.1] helo=kebab.indexdata.dk)
15         by kebab.indexdata.dk with esmtp (Exim 4.50)
16         id 1HvfpK-00054B-4B; Tue, 05 Jun 2007 22:40:26 +0200
17 Received: from user.indexdata.dk ([213.150.43.10] helo=bagel.indexdata.dk)
18         by kebab.indexdata.dk with esmtp (Exim 4.50) id 1HvfpH-000546-J0
19         for zebralist@lists.indexdata.dk; Tue, 05 Jun 2007 22:40:23 +0200
20 Received: from port528.ds1-brh.adsl.cybercity.dk ([212.242.239.223]
21         helo=[10.0.0.4]) by bagel.indexdata.dk with esmtp (Exim 4.50)
22         id 1HvfpH-0002k6-Bk
23         for zebralist@lists.indexdata.dk; Tue, 05 Jun 2007 22:40:23 +0200
24 Message-ID: <4665CA36.3030801@indexdata.dk>
25 User-Agent: Icedove 1.5.0.10 (X11/20070329)
26 MIME-Version: 1.0
27 References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA2HmijEJdOU2qq3LhU7BNwcKAAAAQAAAALF1wotpcqkuY7R7UELHO9QEAAAAA@coremain.com>
28 In-Reply-To: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAA2HmijEJdOU2qq3LhU7BNwcKAAAAQAAAALF1wotpcqkuY7R7UELHO9QEAAAAA@coremain.com>
29 Content-Type: text/plain; charset=windows-1252; format=flowed
30 Content-Transfer-Encoding: 8bit
31 X-SA-Do-Not-Run: Yes
32 X-BeenThere: zebralist@lists.indexdata.dk
33 X-Mailman-Version: 2.1.5
34 Precedence: list
35 Reply-To: Zebra Information Server <zebralist@lists.indexdata.dk>
36 List-Id: Zebra Information Server <zebralist.lists.indexdata.dk>
37 List-Unsubscribe: <http://lists.indexdata.dk/cgi-bin/mailman/listinfo/zebralist>, 
38         <mailto:zebralist-request@lists.indexdata.dk?subject=unsubscribe>
39 List-Archive: <http://lists.indexdata.dk/pipermail/zebralist>
40 List-Post: <mailto:zebralist@lists.indexdata.dk>
41 List-Help: <mailto:zebralist-request@lists.indexdata.dk?subject=help>
42 List-Subscribe: <http://lists.indexdata.dk/cgi-bin/mailman/listinfo/zebralist>, 
43         <mailto:zebralist-request@lists.indexdata.dk?subject=subscribe>
44 Errors-To: zebralist-bounces@lists.indexdata.dk
45 X-SA-Exim-Connect-IP: 83.133.64.60
46 X-SA-Exim-Rcpt-To: mike@indexdata.com, quinn@indexdata.com
47 X-SA-Exim-Mail-From: zebralist-bounces@lists.indexdata.dk
48 X-SA-Exim-Scanned: No (on bagel.indexdata.dk); SAEximRunCond expanded to false
49 X-UIDL: &9W"!USe"![`-!!='`"!
50 From: Marc Cromme <marc@indexdata.dk>
51 Sender: zebralist-bounces@lists.indexdata.dk
52 To: Zebra Information Server <zebralist@lists.indexdata.dk>
53 Subject: Re: [Zebralist] zebra 2.0 with domxml
54 Date: Tue, 05 Jun 2007 22:40:22 +0200
55
56 Miguel A. Calvo wrote:
57 > Hi,
58 > The question is, how can i enable or disable attributes bib-1 to the DomXML
59 > format? 
60
61 Ahh.
62 In case that we want to support the usual bib-1 Z39.50 numeric access 
63 points, it is a good idea to choose string index names defined in the 
64 default configuration file tab/bib1.att, see the section called \93The 
65 Attribute Set (.att) Files\94
66
67 First you make sure that the index names defined in your DOM XML filter 
68 indexing stylesheet do match the names defined in tab/bib1.att
69
70 For example,
71   <z:index name="title:w title:p">
72
73 matches
74
75 att 4               Title
76
77 (case does not matter!)
78
79
80 Then you load bib1.attr in your zebra.cfg like this:
81
82 attset: bib1.att
83 #attset: explain.att
84
85
86 and voíla! you can search
87
88 @attr 1=4 fish
89
90 > And, Where can I specify the data type of results (zebra::index or
91 > zebra::meta::sysno , etc )
92
93
94 The result record syntaxes XML and SUTRS
95 support schemas/element sets zebra::index and zebra::meta::sysno
96 right out of the box, see
97 http://www.indexdata.com/zebra/doc/special-retrieval.tkl
98
99 The later, i.e zebra::index requires internal storage of record data, 
100 i.e the directive
101
102 # store records and record keys internally
103 storeData: 1
104 storeKeys: 1
105
106 in zebra.cfg.
107
108
109
110 Otherwise, the DOM XML filter can only serve XML syntax records, those 
111 are constructed in arbitrarily schemes using XSLT stylesheets, like 
112 conversion from MODS to DC, of MODS to MARCXML. Binary formats as USMARC 
113 are not supported for the DOM XML filter. See
114 http://www.indexdata.com/zebra/doc/record-model-domxml-pipeline.tkl#record-model-domxml-pipeline-retrieve
115
116 An overview of the different pipelines is found at
117 http://www.indexdata.com/zebra/doc/record-model-domxml.tkl#record-model-domxml-filter
118
119 This is a tad complex, but needed for many running use cases. It pays 
120 off to dig into the documentation sections.
121
122 Please do not hesitate to suggest updates to the documentaiton, in case 
123 you find anything unclear ..
124
125
126 Your's Marc Cromme, Index Data
127
128
129 > thanks
130
131
132 >  
133
134 > Miguel A. Calvo Lázaro
135
136 > Técnico de Software Factory
137
138 > miguel.calvo@coremain.com
139
140 > http://www.coremain.com
141
142
143 > -----Mensaje original-----
144 > De: zebralist-bounces@lists.indexdata.dk
145 > [mailto:zebralist-bounces@lists.indexdata.dk] En nombre de Marc Cromme
146 > Enviado el: martes, 05 de junio de 2007 14:52
147 > Para: Zebra Information Server
148 > Asunto: Re: [Zebralist] zebra 2.0 with domxml
149
150 > Miguel A. Calvo wrote:
151 >> Hi,
152 >>  I am investigating, and it interests to me to install zebra 2.0 by 
153 >> means of model DOMXML. I have a series of questions. I have understood 
154 >> all the operation of the configuration file zebra.cfg The problem 
155 >> comes later. I follow the passages of indexing and formats of exit, 
156 >> but to qualify tag that can be consulted, do I need the files 
157 >> configuration with extension abs, tag,\85? or , is it formed everything 
158 >> from the files xslt?
159 >>  
160
161 > I am not sure I do understand your question correctly.
162 > The DOMXML file does not require nor use any of the GRS-1 .abs files at all.
163
164 > What only counts is the format of the XML the indexer sees, it's described
165 > in section "Canonical Indexing Format"
166 > http://www.indexdata.com/zebra/doc/record-model-domxml-pipeline.tkl#record-m
167 > odel-domxml-canonical-index
168
169 > All the XSLT transformations are only defined to transform your XML files to
170 > the canonical indexing format.
171
172 > The nice thing is, you can play with this using any command line tool,
173 > adjust your XSLT stylesheets until they work, and then register them using
174 > the pipeline configurations described in
175 > http://www.indexdata.com/zebra/doc/record-model-domxml-pipeline.tkl
176
177 > See also
178 > http://www.indexdata.com/zebra/doc/record-model-domxml-conf.tkl#record-model
179 > -domxml-debug
180
181 > Your's Marc Cromme, Index Data
182
183
184 >> Thanks
185 >>  
186 >>  
187 >>
188 >> **
189 >>
190 >> **
191 >>
192 >> *Miguel A. Calvo Lázaro*
193 >>
194 >> Técnico de Software Factory
195 >>
196 >> *miguel.calvo@coremain.com <mailto:miguel.calvo@coremain.com>*
197 >>
198 >> http://www.coremain.com <http://www.coremain.com/>
199 >>
200 >>  
201 >>
202 >>
203 >> ----------------------------------------------------------------------
204 >> --
205 >>
206 >> _______________________________________________
207 >> Zebralist mailing list
208 >> Zebralist@lists.indexdata.dk
209 >> http://lists.indexdata.dk/cgi-bin/mailman/listinfo/zebralist
210
211
212
213
214 -- 
215
216 Marc Cromme
217 M.Sc and Ph.D in Mathematical Modelling and Computation
218 Senior Developer, Project Manager
219
220 Index Data Aps
221 Købmagergade 43, 2
222 1150 Copenhagen K.
223 Denmark
224
225 tel: +45 3341 0100
226 fax: +45 3341 0101
227
228 http://www.indexdata.com
229
230 INDEX DATA Means Business
231 for Open Source and Open Standards
232
233
234
235
236
237 _______________________________________________
238 Zebralist mailing list
239 Zebralist@lists.indexdata.dk
240 http://lists.indexdata.dk/cgi-bin/mailman/listinfo/zebralist
241