pho 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. data/CHANGES +9 -0
  2. data/Rakefile +1 -1
  3. data/doc/index.html +1 -1
  4. data/doc/rdoc/classes/Pho/CommandLine.html +108 -108
  5. data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
  6. data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +29 -29
  7. data/doc/rdoc/classes/Pho/Etags.html +36 -36
  8. data/doc/rdoc/classes/Pho/Facet/Results.html +19 -19
  9. data/doc/rdoc/classes/Pho/Facet/Term.html +6 -6
  10. data/doc/rdoc/classes/Pho/FieldPredicateMap.html +146 -112
  11. data/doc/rdoc/classes/Pho/FieldWeighting.html +12 -12
  12. data/doc/rdoc/classes/Pho/Job.html +64 -64
  13. data/doc/rdoc/classes/Pho/Jobs.html +60 -60
  14. data/doc/rdoc/classes/Pho/OAI.html +1 -0
  15. data/doc/rdoc/classes/Pho/OAI/Record.html +1 -1
  16. data/doc/rdoc/classes/Pho/OAI/Records.html +4 -4
  17. data/doc/rdoc/classes/Pho/QueryProfile.html +66 -66
  18. data/doc/rdoc/classes/Pho/RDF/Parser.html +24 -24
  19. data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +36 -36
  20. data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +12 -12
  21. data/doc/rdoc/classes/Pho/Snapshot.html +35 -35
  22. data/doc/rdoc/classes/Pho/Status.html +26 -26
  23. data/doc/rdoc/classes/Pho/Store.html +215 -215
  24. data/doc/rdoc/classes/Pho/StoreSparqlClient.html +12 -12
  25. data/doc/rdoc/classes/String.html +1 -1
  26. data/doc/rdoc/created.rid +1 -1
  27. data/doc/rdoc/files/CHANGES.html +17 -1
  28. data/doc/rdoc/files/lib/pho/field_predicate_map_rb.html +1 -1
  29. data/doc/rdoc/files/lib/pho/oai_rb.html +1 -1
  30. data/doc/rdoc/files/lib/pho_rb.html +2 -1
  31. data/doc/rdoc/fr_class_index.html +1 -0
  32. data/doc/rdoc/fr_method_index.html +152 -149
  33. data/lib/pho.rb +1 -0
  34. data/lib/pho/field_predicate_map.rb +18 -7
  35. data/lib/pho/oai.rb +25 -0
  36. data/tests/tc_command_line.rb +1 -1
  37. data/tests/tc_field_predicate_map.rb +36 -5
  38. data/tests/tc_oai.rb +37 -0
  39. metadata +4 -4
@@ -92,8 +92,8 @@ Captures information about a mapped datatype from a Field Predicate Map
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000153">new</a>&nbsp;&nbsp;
96
- <a href="#M000154">to_rdf</a>&nbsp;&nbsp;
95
+ <a href="#M000156">new</a>&nbsp;&nbsp;
96
+ <a href="#M000157">to_rdf</a>&nbsp;&nbsp;
97
97
  </div>
98
98
  </div>
99
99
 
@@ -155,19 +155,19 @@ URI for this mapping
155
155
  <div id="methods">
156
156
  <h3 class="section-bar">Public Class methods</h3>
157
157
 
158
- <div id="method-M000153" class="method-detail">
159
- <a name="M000153"></a>
158
+ <div id="method-M000156" class="method-detail">
159
+ <a name="M000156"></a>
160
160
 
161
161
  <div class="method-heading">
162
- <a href="#M000153" class="method-signature">
162
+ <a href="#M000156" class="method-signature">
163
163
  <span class="method-name">new</span><span class="method-args">(uri, property_uri, name, analyzer=nil)</span>
164
164
  </a>
165
165
  </div>
166
166
 
167
167
  <div class="method-description">
168
168
  <p><a class="source-toggle" href="#"
169
- onclick="toggleCode('M000153-source');return false;">[Source]</a></p>
170
- <div class="method-source-code" id="M000153-source">
169
+ onclick="toggleCode('M000156-source');return false;">[Source]</a></p>
170
+ <div class="method-source-code" id="M000156-source">
171
171
  <pre>
172
172
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 64</span>
173
173
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">property_uri</span>, <span class="ruby-identifier">name</span>, <span class="ruby-identifier">analyzer</span>=<span class="ruby-keyword kw">nil</span>)
@@ -183,11 +183,11 @@ URI for this mapping
183
183
 
184
184
  <h3 class="section-bar">Public Instance methods</h3>
185
185
 
186
- <div id="method-M000154" class="method-detail">
187
- <a name="M000154"></a>
186
+ <div id="method-M000157" class="method-detail">
187
+ <a name="M000157"></a>
188
188
 
189
189
  <div class="method-heading">
190
- <a href="#M000154" class="method-signature">
190
+ <a href="#M000157" class="method-signature">
191
191
  <span class="method-name">to_rdf</span><span class="method-args">(ns=true)</span>
192
192
  </a>
193
193
  </div>
@@ -203,8 +203,8 @@ Generates a simple rdf:Description, optionally including namespaces
203
203
  </td></tr>
204
204
  </table>
205
205
  <p><a class="source-toggle" href="#"
206
- onclick="toggleCode('M000154-source');return false;">[Source]</a></p>
207
- <div class="method-source-code" id="M000154-source">
206
+ onclick="toggleCode('M000157-source');return false;">[Source]</a></p>
207
+ <div class="method-source-code" id="M000157-source">
208
208
  <pre>
209
209
  <span class="ruby-comment cmt"># File lib/pho/field_predicate_map.rb, line 73</span>
210
210
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">to_rdf</span>(<span class="ruby-identifier">ns</span>=<span class="ruby-keyword kw">true</span>)
@@ -86,10 +86,10 @@
86
86
  <h3 class="section-bar">Methods</h3>
87
87
 
88
88
  <div class="name-list">
89
- <a href="#M000077">enrich</a>&nbsp;&nbsp;
90
- <a href="#M000075">infer</a>&nbsp;&nbsp;
91
- <a href="#M000076">merge</a>&nbsp;&nbsp;
92
- <a href="#M000074">new</a>&nbsp;&nbsp;
89
+ <a href="#M000079">enrich</a>&nbsp;&nbsp;
90
+ <a href="#M000077">infer</a>&nbsp;&nbsp;
91
+ <a href="#M000078">merge</a>&nbsp;&nbsp;
92
+ <a href="#M000076">new</a>&nbsp;&nbsp;
93
93
  </div>
94
94
  </div>
95
95
 
@@ -129,11 +129,11 @@
129
129
  <div id="methods">
130
130
  <h3 class="section-bar">Public Class methods</h3>
131
131
 
132
- <div id="method-M000075" class="method-detail">
133
- <a name="M000075"></a>
132
+ <div id="method-M000077" class="method-detail">
133
+ <a name="M000077"></a>
134
134
 
135
135
  <div class="method-heading">
136
- <a href="#M000075" class="method-signature">
136
+ <a href="#M000077" class="method-signature">
137
137
  <span class="method-name">infer</span><span class="method-args">(store, query, &amp;block)</span>
138
138
  </a>
139
139
  </div>
@@ -144,7 +144,7 @@ Enrich a store against itself
144
144
  </p>
145
145
  <p>
146
146
  For the common case where a store needs to be enriched against itself by
147
- inferring <a href="StoreEnricher.html#M000074">new</a> data from old using
147
+ inferring <a href="StoreEnricher.html#M000076">new</a> data from old using
148
148
  a CONSTRUCT query
149
149
  </p>
150
150
  <table>
@@ -152,14 +152,14 @@ a CONSTRUCT query
152
152
 
153
153
  </td></tr>
154
154
  <tr><td valign="top">query:</td><td>the SPARQL CONSTRUCT query to be used to <a
155
- href="StoreEnricher.html#M000075">infer</a> the <a
156
- href="StoreEnricher.html#M000074">new</a> data
155
+ href="StoreEnricher.html#M000077">infer</a> the <a
156
+ href="StoreEnricher.html#M000076">new</a> data
157
157
 
158
158
  </td></tr>
159
159
  </table>
160
160
  <p><a class="source-toggle" href="#"
161
- onclick="toggleCode('M000075-source');return false;">[Source]</a></p>
162
- <div class="method-source-code" id="M000075-source">
161
+ onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
162
+ <div class="method-source-code" id="M000077-source">
163
163
  <pre>
164
164
  <span class="ruby-comment cmt"># File lib/pho/enrichment.rb, line 28</span>
165
165
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">StoreEnricher</span>.<span class="ruby-identifier">infer</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">query</span>, <span class="ruby-operator">&amp;</span><span class="ruby-identifier">block</span>)
@@ -171,11 +171,11 @@ href="StoreEnricher.html#M000074">new</a> data
171
171
  </div>
172
172
  </div>
173
173
 
174
- <div id="method-M000074" class="method-detail">
175
- <a name="M000074"></a>
174
+ <div id="method-M000076" class="method-detail">
175
+ <a name="M000076"></a>
176
176
 
177
177
  <div class="method-heading">
178
- <a href="#M000074" class="method-signature">
178
+ <a href="#M000076" class="method-signature">
179
179
  <span class="method-name">new</span><span class="method-args">(store, sparql_client)</span>
180
180
  </a>
181
181
  </div>
@@ -186,7 +186,7 @@ Constructor
186
186
  </p>
187
187
  <table>
188
188
  <tr><td valign="top">store:</td><td>the store containing resource(s) to <a
189
- href="StoreEnricher.html#M000077">enrich</a>
189
+ href="StoreEnricher.html#M000079">enrich</a>
190
190
 
191
191
  </td></tr>
192
192
  <tr><td valign="top">sparql_client:</td><td>SparqlClient object to be used as client for retrieving enrichments
@@ -194,8 +194,8 @@ href="StoreEnricher.html#M000077">enrich</a>
194
194
  </td></tr>
195
195
  </table>
196
196
  <p><a class="source-toggle" href="#"
197
- onclick="toggleCode('M000074-source');return false;">[Source]</a></p>
198
- <div class="method-source-code" id="M000074-source">
197
+ onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
198
+ <div class="method-source-code" id="M000076-source">
199
199
  <pre>
200
200
  <span class="ruby-comment cmt"># File lib/pho/enrichment.rb, line 16</span>
201
201
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">sparql_client</span>)
@@ -209,11 +209,11 @@ href="StoreEnricher.html#M000077">enrich</a>
209
209
 
210
210
  <h3 class="section-bar">Public Instance methods</h3>
211
211
 
212
- <div id="method-M000077" class="method-detail">
213
- <a name="M000077"></a>
212
+ <div id="method-M000079" class="method-detail">
213
+ <a name="M000079"></a>
214
214
 
215
215
  <div class="method-heading">
216
- <a href="#M000077" class="method-signature">
216
+ <a href="#M000079" class="method-signature">
217
217
  <span class="method-name">enrich</span><span class="method-args">(locator_query, enrichment_query, callback=nil) {|:query, query_response| ...}</span>
218
218
  </a>
219
219
  </div>
@@ -301,7 +301,7 @@ and the response object itself. E.g:
301
301
  <tr><td valign="top">locator_query:</td><td>query to locate resources to be enriched
302
302
 
303
303
  </td></tr>
304
- <tr><td valign="top">enrichment_query:</td><td>query to be used to <a href="StoreEnricher.html#M000077">enrich</a> the
304
+ <tr><td valign="top">enrichment_query:</td><td>query to be used to <a href="StoreEnricher.html#M000079">enrich</a> the
305
305
  resource
306
306
 
307
307
  </td></tr>
@@ -310,8 +310,8 @@ resource
310
310
  </td></tr>
311
311
  </table>
312
312
  <p><a class="source-toggle" href="#"
313
- onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
314
- <div class="method-source-code" id="M000077-source">
313
+ onclick="toggleCode('M000079-source');return false;">[Source]</a></p>
314
+ <div class="method-source-code" id="M000079-source">
315
315
  <pre>
316
316
  <span class="ruby-comment cmt"># File lib/pho/enrichment.rb, line 109</span>
317
317
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enrich</span>(<span class="ruby-identifier">locator_query</span>, <span class="ruby-identifier">enrichment_query</span>, <span class="ruby-identifier">callback</span>=<span class="ruby-keyword kw">nil</span>)
@@ -353,11 +353,11 @@ resource
353
353
  </div>
354
354
  </div>
355
355
 
356
- <div id="method-M000076" class="method-detail">
357
- <a name="M000076"></a>
356
+ <div id="method-M000078" class="method-detail">
357
+ <a name="M000078"></a>
358
358
 
359
359
  <div class="method-heading">
360
- <a href="#M000076" class="method-signature">
360
+ <a href="#M000078" class="method-signature">
361
361
  <span class="method-name">merge</span><span class="method-args">(query) {|resp, data| ...}</span>
362
362
  </a>
363
363
  </div>
@@ -373,8 +373,8 @@ the results in the Platform <a href="../Store.html">Store</a>
373
373
  </td></tr>
374
374
  </table>
375
375
  <p><a class="source-toggle" href="#"
376
- onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
377
- <div class="method-source-code" id="M000076-source">
376
+ onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
377
+ <div class="method-source-code" id="M000078-source">
378
378
  <pre>
379
379
  <span class="ruby-comment cmt"># File lib/pho/enrichment.rb, line 37</span>
380
380
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">merge</span>(<span class="ruby-identifier">query</span>)
@@ -92,12 +92,12 @@ Simple mechanism for managing etags
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000210">add</a>&nbsp;&nbsp;
96
- <a href="#M000211">add_from_response</a>&nbsp;&nbsp;
97
- <a href="#M000212">get</a>&nbsp;&nbsp;
98
- <a href="#M000213">has_tag?</a>&nbsp;&nbsp;
99
- <a href="#M000208">new</a>&nbsp;&nbsp;
100
- <a href="#M000209">save</a>&nbsp;&nbsp;
95
+ <a href="#M000213">add</a>&nbsp;&nbsp;
96
+ <a href="#M000214">add_from_response</a>&nbsp;&nbsp;
97
+ <a href="#M000215">get</a>&nbsp;&nbsp;
98
+ <a href="#M000216">has_tag?</a>&nbsp;&nbsp;
99
+ <a href="#M000211">new</a>&nbsp;&nbsp;
100
+ <a href="#M000212">save</a>&nbsp;&nbsp;
101
101
  </div>
102
102
  </div>
103
103
 
@@ -137,19 +137,19 @@ Simple mechanism for managing etags
137
137
  <div id="methods">
138
138
  <h3 class="section-bar">Public Class methods</h3>
139
139
 
140
- <div id="method-M000208" class="method-detail">
141
- <a name="M000208"></a>
140
+ <div id="method-M000211" class="method-detail">
141
+ <a name="M000211"></a>
142
142
 
143
143
  <div class="method-heading">
144
- <a href="#M000208" class="method-signature">
144
+ <a href="#M000211" class="method-signature">
145
145
  <span class="method-name">new</span><span class="method-args">(file = nil)</span>
146
146
  </a>
147
147
  </div>
148
148
 
149
149
  <div class="method-description">
150
150
  <p><a class="source-toggle" href="#"
151
- onclick="toggleCode('M000208-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000208-source">
151
+ onclick="toggleCode('M000211-source');return false;">[Source]</a></p>
152
+ <div class="method-source-code" id="M000211-source">
153
153
  <pre>
154
154
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 11</span>
155
155
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">file</span> = <span class="ruby-keyword kw">nil</span>)
@@ -167,19 +167,19 @@ Simple mechanism for managing etags
167
167
 
168
168
  <h3 class="section-bar">Public Instance methods</h3>
169
169
 
170
- <div id="method-M000210" class="method-detail">
171
- <a name="M000210"></a>
170
+ <div id="method-M000213" class="method-detail">
171
+ <a name="M000213"></a>
172
172
 
173
173
  <div class="method-heading">
174
- <a href="#M000210" class="method-signature">
174
+ <a href="#M000213" class="method-signature">
175
175
  <span class="method-name">add</span><span class="method-args">(uri, tag)</span>
176
176
  </a>
177
177
  </div>
178
178
 
179
179
  <div class="method-description">
180
180
  <p><a class="source-toggle" href="#"
181
- onclick="toggleCode('M000210-source');return false;">[Source]</a></p>
182
- <div class="method-source-code" id="M000210-source">
181
+ onclick="toggleCode('M000213-source');return false;">[Source]</a></p>
182
+ <div class="method-source-code" id="M000213-source">
183
183
  <pre>
184
184
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 34</span>
185
185
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">tag</span>)
@@ -193,19 +193,19 @@ Simple mechanism for managing etags
193
193
  </div>
194
194
  </div>
195
195
 
196
- <div id="method-M000211" class="method-detail">
197
- <a name="M000211"></a>
196
+ <div id="method-M000214" class="method-detail">
197
+ <a name="M000214"></a>
198
198
 
199
199
  <div class="method-heading">
200
- <a href="#M000211" class="method-signature">
200
+ <a href="#M000214" class="method-signature">
201
201
  <span class="method-name">add_from_response</span><span class="method-args">(uri, response)</span>
202
202
  </a>
203
203
  </div>
204
204
 
205
205
  <div class="method-description">
206
206
  <p><a class="source-toggle" href="#"
207
- onclick="toggleCode('M000211-source');return false;">[Source]</a></p>
208
- <div class="method-source-code" id="M000211-source">
207
+ onclick="toggleCode('M000214-source');return false;">[Source]</a></p>
208
+ <div class="method-source-code" id="M000214-source">
209
209
  <pre>
210
210
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 41</span>
211
211
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">add_from_response</span>(<span class="ruby-identifier">uri</span>, <span class="ruby-identifier">response</span>)
@@ -216,19 +216,19 @@ Simple mechanism for managing etags
216
216
  </div>
217
217
  </div>
218
218
 
219
- <div id="method-M000212" class="method-detail">
220
- <a name="M000212"></a>
219
+ <div id="method-M000215" class="method-detail">
220
+ <a name="M000215"></a>
221
221
 
222
222
  <div class="method-heading">
223
- <a href="#M000212" class="method-signature">
223
+ <a href="#M000215" class="method-signature">
224
224
  <span class="method-name">get</span><span class="method-args">(uri)</span>
225
225
  </a>
226
226
  </div>
227
227
 
228
228
  <div class="method-description">
229
229
  <p><a class="source-toggle" href="#"
230
- onclick="toggleCode('M000212-source');return false;">[Source]</a></p>
231
- <div class="method-source-code" id="M000212-source">
230
+ onclick="toggleCode('M000215-source');return false;">[Source]</a></p>
231
+ <div class="method-source-code" id="M000215-source">
232
232
  <pre>
233
233
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 45</span>
234
234
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">get</span>(<span class="ruby-identifier">uri</span>)
@@ -239,19 +239,19 @@ Simple mechanism for managing etags
239
239
  </div>
240
240
  </div>
241
241
 
242
- <div id="method-M000213" class="method-detail">
243
- <a name="M000213"></a>
242
+ <div id="method-M000216" class="method-detail">
243
+ <a name="M000216"></a>
244
244
 
245
245
  <div class="method-heading">
246
- <a href="#M000213" class="method-signature">
246
+ <a href="#M000216" class="method-signature">
247
247
  <span class="method-name">has_tag?</span><span class="method-args">(uri)</span>
248
248
  </a>
249
249
  </div>
250
250
 
251
251
  <div class="method-description">
252
252
  <p><a class="source-toggle" href="#"
253
- onclick="toggleCode('M000213-source');return false;">[Source]</a></p>
254
- <div class="method-source-code" id="M000213-source">
253
+ onclick="toggleCode('M000216-source');return false;">[Source]</a></p>
254
+ <div class="method-source-code" id="M000216-source">
255
255
  <pre>
256
256
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 49</span>
257
257
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">has_tag?</span>(<span class="ruby-identifier">uri</span>)
@@ -262,19 +262,19 @@ Simple mechanism for managing etags
262
262
  </div>
263
263
  </div>
264
264
 
265
- <div id="method-M000209" class="method-detail">
266
- <a name="M000209"></a>
265
+ <div id="method-M000212" class="method-detail">
266
+ <a name="M000212"></a>
267
267
 
268
268
  <div class="method-heading">
269
- <a href="#M000209" class="method-signature">
269
+ <a href="#M000212" class="method-signature">
270
270
  <span class="method-name">save</span><span class="method-args">(other=nil)</span>
271
271
  </a>
272
272
  </div>
273
273
 
274
274
  <div class="method-description">
275
275
  <p><a class="source-toggle" href="#"
276
- onclick="toggleCode('M000209-source');return false;">[Source]</a></p>
277
- <div class="method-source-code" id="M000209-source">
276
+ onclick="toggleCode('M000212-source');return false;">[Source]</a></p>
277
+ <div class="method-source-code" id="M000212-source">
278
278
  <pre>
279
279
  <span class="ruby-comment cmt"># File lib/pho/etags.rb, line 20</span>
280
280
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">save</span>(<span class="ruby-identifier">other</span>=<span class="ruby-keyword kw">nil</span>)
@@ -92,9 +92,9 @@ Captures the data returned in a facetted search
92
92
  <h3 class="section-bar">Methods</h3>
93
93
 
94
94
  <div class="name-list">
95
- <a href="#M000078">new</a>&nbsp;&nbsp;
96
- <a href="#M000080">parse</a>&nbsp;&nbsp;
97
- <a href="#M000079">read_from_store</a>&nbsp;&nbsp;
95
+ <a href="#M000080">new</a>&nbsp;&nbsp;
96
+ <a href="#M000082">parse</a>&nbsp;&nbsp;
97
+ <a href="#M000081">read_from_store</a>&nbsp;&nbsp;
98
98
  </div>
99
99
  </div>
100
100
 
@@ -148,19 +148,19 @@ The query used to generate the facet results, as echoed in the response
148
148
  <div id="methods">
149
149
  <h3 class="section-bar">Public Class methods</h3>
150
150
 
151
- <div id="method-M000078" class="method-detail">
152
- <a name="M000078"></a>
151
+ <div id="method-M000080" class="method-detail">
152
+ <a name="M000080"></a>
153
153
 
154
154
  <div class="method-heading">
155
- <a href="#M000078" class="method-signature">
155
+ <a href="#M000080" class="method-signature">
156
156
  <span class="method-name">new</span><span class="method-args">(query, fields, facets=Hash.new)</span>
157
157
  </a>
158
158
  </div>
159
159
 
160
160
  <div class="method-description">
161
161
  <p><a class="source-toggle" href="#"
162
- onclick="toggleCode('M000078-source');return false;">[Source]</a></p>
163
- <div class="method-source-code" id="M000078-source">
162
+ onclick="toggleCode('M000080-source');return false;">[Source]</a></p>
163
+ <div class="method-source-code" id="M000080-source">
164
164
  <pre>
165
165
  <span class="ruby-comment cmt"># File lib/pho/facet.rb, line 32</span>
166
166
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span>(<span class="ruby-identifier">query</span>, <span class="ruby-identifier">fields</span>, <span class="ruby-identifier">facets</span>=<span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>)
@@ -173,19 +173,19 @@ The query used to generate the facet results, as echoed in the response
173
173
  </div>
174
174
  </div>
175
175
 
176
- <div id="method-M000080" class="method-detail">
177
- <a name="M000080"></a>
176
+ <div id="method-M000082" class="method-detail">
177
+ <a name="M000082"></a>
178
178
 
179
179
  <div class="method-heading">
180
- <a href="#M000080" class="method-signature">
180
+ <a href="#M000082" class="method-signature">
181
181
  <span class="method-name">parse</span><span class="method-args">(data)</span>
182
182
  </a>
183
183
  </div>
184
184
 
185
185
  <div class="method-description">
186
186
  <p><a class="source-toggle" href="#"
187
- onclick="toggleCode('M000080-source');return false;">[Source]</a></p>
188
- <div class="method-source-code" id="M000080-source">
187
+ onclick="toggleCode('M000082-source');return false;">[Source]</a></p>
188
+ <div class="method-source-code" id="M000082-source">
189
189
  <pre>
190
190
  <span class="ruby-comment cmt"># File lib/pho/facet.rb, line 58</span>
191
191
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Results</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">data</span>)
@@ -232,11 +232,11 @@ The query used to generate the facet results, as echoed in the response
232
232
  </div>
233
233
  </div>
234
234
 
235
- <div id="method-M000079" class="method-detail">
236
- <a name="M000079"></a>
235
+ <div id="method-M000081" class="method-detail">
236
+ <a name="M000081"></a>
237
237
 
238
238
  <div class="method-heading">
239
- <a href="#M000079" class="method-signature">
239
+ <a href="#M000081" class="method-signature">
240
240
  <span class="method-name">read_from_store</span><span class="method-args">(store, query, facets, params=Hash.new)</span>
241
241
  </a>
242
242
  </div>
@@ -257,14 +257,14 @@ response
257
257
  <tr><td valign="top">facets:</td><td>an ordered list of facets to be used
258
258
 
259
259
  </td></tr>
260
- <tr><td valign="top">params:</td><td>additional params. See <a href="../Store.html#M000172">Store.facet</a> for
260
+ <tr><td valign="top">params:</td><td>additional params. See <a href="../Store.html#M000175">Store.facet</a> for
261
261
  details. XML output is requested automatically
262
262
 
263
263
  </td></tr>
264
264
  </table>
265
265
  <p><a class="source-toggle" href="#"
266
- onclick="toggleCode('M000079-source');return false;">[Source]</a></p>
267
- <div class="method-source-code" id="M000079-source">
266
+ onclick="toggleCode('M000081-source');return false;">[Source]</a></p>
267
+ <div class="method-source-code" id="M000081-source">
268
268
  <pre>
269
269
  <span class="ruby-comment cmt"># File lib/pho/facet.rb, line 45</span>
270
270
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Results</span>.<span class="ruby-identifier">read_from_store</span>(<span class="ruby-identifier">store</span>, <span class="ruby-identifier">query</span>, <span class="ruby-identifier">facets</span>, <span class="ruby-identifier">params</span>=<span class="ruby-constant">Hash</span>.<span class="ruby-identifier">new</span>)