pho 0.7.7 → 0.7.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/CHANGES +21 -0
  2. data/README +1 -2
  3. data/Rakefile +1 -1
  4. data/bin/talis_store +13 -22
  5. data/doc/rdoc/classes/Pho/CommandLine.html +162 -124
  6. data/doc/rdoc/classes/Pho/DatatypeProperty.html +12 -12
  7. data/doc/rdoc/classes/Pho/Enrichment/StoreEnricher.html +29 -29
  8. data/doc/rdoc/classes/Pho/Etags.html +36 -36
  9. data/doc/rdoc/classes/Pho/Facet/Results.html +19 -19
  10. data/doc/rdoc/classes/Pho/Facet/Term.html +6 -6
  11. data/doc/rdoc/classes/Pho/FieldPredicateMap.html +102 -102
  12. data/doc/rdoc/classes/Pho/FieldWeighting.html +12 -12
  13. data/doc/rdoc/classes/Pho/FileManagement/AbstractFileManager.html +262 -103
  14. data/doc/rdoc/classes/Pho/FileManagement/FileManager.html +34 -14
  15. data/doc/rdoc/classes/Pho/FileManagement/RDFManager.html +10 -5
  16. data/doc/rdoc/classes/Pho/Job.html +64 -64
  17. data/doc/rdoc/classes/Pho/Jobs.html +60 -60
  18. data/doc/rdoc/classes/Pho/OAI/Record.html +6 -6
  19. data/doc/rdoc/classes/Pho/OAI/Records.html +24 -24
  20. data/doc/rdoc/classes/Pho/OAI/Statistics.html +12 -12
  21. data/doc/rdoc/classes/Pho/QueryProfile.html +66 -66
  22. data/doc/rdoc/classes/Pho/ResourceHash/Converter.html +36 -36
  23. data/doc/rdoc/classes/Pho/ResourceHash/SetAlgebra.html +12 -12
  24. data/doc/rdoc/classes/Pho/Snapshot.html +35 -35
  25. data/doc/rdoc/classes/Pho/Sparql/SparqlClient.html +74 -74
  26. data/doc/rdoc/classes/Pho/Sparql/SparqlHelper.html +78 -78
  27. data/doc/rdoc/classes/Pho/Status.html +26 -26
  28. data/doc/rdoc/classes/Pho/Store.html +215 -215
  29. data/doc/rdoc/classes/Pho/StoreSparqlClient.html +12 -12
  30. data/doc/rdoc/classes/Pho/Update/Changeset.html +63 -63
  31. data/doc/rdoc/classes/Pho/Update/ChangesetBuilder.html +24 -24
  32. data/doc/rdoc/classes/Pho/Update/ChangesetHelper.html +6 -6
  33. data/doc/rdoc/classes/Pho/Update/Changesets.html +12 -12
  34. data/doc/rdoc/classes/Pho/Update/LiteralStatement.html +18 -18
  35. data/doc/rdoc/classes/Pho/Update/ResourceStatement.html +24 -24
  36. data/doc/rdoc/classes/Pho/Update/Statement.html +24 -24
  37. data/doc/rdoc/created.rid +1 -1
  38. data/doc/rdoc/files/CHANGES.html +34 -1
  39. data/doc/rdoc/files/README.html +3 -4
  40. data/doc/rdoc/files/lib/pho/command_line_rb.html +1 -1
  41. data/doc/rdoc/files/lib/pho/file_management_rb.html +1 -1
  42. data/doc/rdoc/files/lib/pho/file_manager_rb.html +1 -1
  43. data/doc/rdoc/files/lib/pho/rdf_collection_rb.html +1 -1
  44. data/doc/rdoc/fr_method_index.html +212 -205
  45. data/lib/pho/command_line.rb +29 -11
  46. data/lib/pho/file_management.rb +85 -29
  47. data/lib/pho/file_manager.rb +10 -11
  48. data/lib/pho/rdf_collection.rb +8 -3
  49. data/tests/tc_file_manager.rb +144 -26
  50. data/tests/tc_rdf_collection.rb +76 -68
  51. 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="#M000152">new</a>&nbsp;&nbsp;
96
- <a href="#M000153">to_rdf</a>&nbsp;&nbsp;
95
+ <a href="#M000159">new</a>&nbsp;&nbsp;
96
+ <a href="#M000160">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-M000152" class="method-detail">
159
- <a name="M000152"></a>
158
+ <div id="method-M000159" class="method-detail">
159
+ <a name="M000159"></a>
160
160
 
161
161
  <div class="method-heading">
162
- <a href="#M000152" class="method-signature">
162
+ <a href="#M000159" 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('M000152-source');return false;">[Source]</a></p>
170
- <div class="method-source-code" id="M000152-source">
169
+ onclick="toggleCode('M000159-source');return false;">[Source]</a></p>
170
+ <div class="method-source-code" id="M000159-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-M000153" class="method-detail">
187
- <a name="M000153"></a>
186
+ <div id="method-M000160" class="method-detail">
187
+ <a name="M000160"></a>
188
188
 
189
189
  <div class="method-heading">
190
- <a href="#M000153" class="method-signature">
190
+ <a href="#M000160" 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 @@ rdf:Description, optionally including namespaces
203
203
  </td></tr>
204
204
  </table>
205
205
  <p><a class="source-toggle" href="#"
206
- onclick="toggleCode('M000153-source');return false;">[Source]</a></p>
207
- <div class="method-source-code" id="M000153-source">
206
+ onclick="toggleCode('M000160-source');return false;">[Source]</a></p>
207
+ <div class="method-source-code" id="M000160-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="#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;
89
+ <a href="#M000085">enrich</a>&nbsp;&nbsp;
90
+ <a href="#M000083">infer</a>&nbsp;&nbsp;
91
+ <a href="#M000084">merge</a>&nbsp;&nbsp;
92
+ <a href="#M000082">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-M000077" class="method-detail">
133
- <a name="M000077"></a>
132
+ <div id="method-M000083" class="method-detail">
133
+ <a name="M000083"></a>
134
134
 
135
135
  <div class="method-heading">
136
- <a href="#M000077" class="method-signature">
136
+ <a href="#M000083" 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#M000076">new</a> data from old using
147
+ inferring <a href="StoreEnricher.html#M000082">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#M000077">infer</a> the <a
156
- href="StoreEnricher.html#M000076">new</a> data
155
+ href="StoreEnricher.html#M000083">infer</a> the <a
156
+ href="StoreEnricher.html#M000082">new</a> data
157
157
 
158
158
  </td></tr>
159
159
  </table>
160
160
  <p><a class="source-toggle" href="#"
161
- onclick="toggleCode('M000077-source');return false;">[Source]</a></p>
162
- <div class="method-source-code" id="M000077-source">
161
+ onclick="toggleCode('M000083-source');return false;">[Source]</a></p>
162
+ <div class="method-source-code" id="M000083-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#M000076">new</a> data
171
171
  </div>
172
172
  </div>
173
173
 
174
- <div id="method-M000076" class="method-detail">
175
- <a name="M000076"></a>
174
+ <div id="method-M000082" class="method-detail">
175
+ <a name="M000082"></a>
176
176
 
177
177
  <div class="method-heading">
178
- <a href="#M000076" class="method-signature">
178
+ <a href="#M000082" 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#M000079">enrich</a>
189
+ href="StoreEnricher.html#M000085">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#M000079">enrich</a>
194
194
  </td></tr>
195
195
  </table>
196
196
  <p><a class="source-toggle" href="#"
197
- onclick="toggleCode('M000076-source');return false;">[Source]</a></p>
198
- <div class="method-source-code" id="M000076-source">
197
+ onclick="toggleCode('M000082-source');return false;">[Source]</a></p>
198
+ <div class="method-source-code" id="M000082-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#M000079">enrich</a>
209
209
 
210
210
  <h3 class="section-bar">Public Instance methods</h3>
211
211
 
212
- <div id="method-M000079" class="method-detail">
213
- <a name="M000079"></a>
212
+ <div id="method-M000085" class="method-detail">
213
+ <a name="M000085"></a>
214
214
 
215
215
  <div class="method-heading">
216
- <a href="#M000079" class="method-signature">
216
+ <a href="#M000085" 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#M000079">enrich</a> the
304
+ <tr><td valign="top">enrichment_query:</td><td>query to be used to <a href="StoreEnricher.html#M000085">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('M000079-source');return false;">[Source]</a></p>
314
- <div class="method-source-code" id="M000079-source">
313
+ onclick="toggleCode('M000085-source');return false;">[Source]</a></p>
314
+ <div class="method-source-code" id="M000085-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-M000078" class="method-detail">
357
- <a name="M000078"></a>
356
+ <div id="method-M000084" class="method-detail">
357
+ <a name="M000084"></a>
358
358
 
359
359
  <div class="method-heading">
360
- <a href="#M000078" class="method-signature">
360
+ <a href="#M000084" 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('M000078-source');return false;">[Source]</a></p>
377
- <div class="method-source-code" id="M000078-source">
376
+ onclick="toggleCode('M000084-source');return false;">[Source]</a></p>
377
+ <div class="method-source-code" id="M000084-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="#M000209">add</a>&nbsp;&nbsp;
96
- <a href="#M000210">add_from_response</a>&nbsp;&nbsp;
97
- <a href="#M000211">get</a>&nbsp;&nbsp;
98
- <a href="#M000212">has_tag?</a>&nbsp;&nbsp;
99
- <a href="#M000207">new</a>&nbsp;&nbsp;
100
- <a href="#M000208">save</a>&nbsp;&nbsp;
95
+ <a href="#M000216">add</a>&nbsp;&nbsp;
96
+ <a href="#M000217">add_from_response</a>&nbsp;&nbsp;
97
+ <a href="#M000218">get</a>&nbsp;&nbsp;
98
+ <a href="#M000219">has_tag?</a>&nbsp;&nbsp;
99
+ <a href="#M000214">new</a>&nbsp;&nbsp;
100
+ <a href="#M000215">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-M000207" class="method-detail">
141
- <a name="M000207"></a>
140
+ <div id="method-M000214" class="method-detail">
141
+ <a name="M000214"></a>
142
142
 
143
143
  <div class="method-heading">
144
- <a href="#M000207" class="method-signature">
144
+ <a href="#M000214" 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('M000207-source');return false;">[Source]</a></p>
152
- <div class="method-source-code" id="M000207-source">
151
+ onclick="toggleCode('M000214-source');return false;">[Source]</a></p>
152
+ <div class="method-source-code" id="M000214-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-M000209" class="method-detail">
171
- <a name="M000209"></a>
170
+ <div id="method-M000216" class="method-detail">
171
+ <a name="M000216"></a>
172
172
 
173
173
  <div class="method-heading">
174
- <a href="#M000209" class="method-signature">
174
+ <a href="#M000216" 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('M000209-source');return false;">[Source]</a></p>
182
- <div class="method-source-code" id="M000209-source">
181
+ onclick="toggleCode('M000216-source');return false;">[Source]</a></p>
182
+ <div class="method-source-code" id="M000216-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-M000210" class="method-detail">
197
- <a name="M000210"></a>
196
+ <div id="method-M000217" class="method-detail">
197
+ <a name="M000217"></a>
198
198
 
199
199
  <div class="method-heading">
200
- <a href="#M000210" class="method-signature">
200
+ <a href="#M000217" 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('M000210-source');return false;">[Source]</a></p>
208
- <div class="method-source-code" id="M000210-source">
207
+ onclick="toggleCode('M000217-source');return false;">[Source]</a></p>
208
+ <div class="method-source-code" id="M000217-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-M000211" class="method-detail">
220
- <a name="M000211"></a>
219
+ <div id="method-M000218" class="method-detail">
220
+ <a name="M000218"></a>
221
221
 
222
222
  <div class="method-heading">
223
- <a href="#M000211" class="method-signature">
223
+ <a href="#M000218" 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('M000211-source');return false;">[Source]</a></p>
231
- <div class="method-source-code" id="M000211-source">
230
+ onclick="toggleCode('M000218-source');return false;">[Source]</a></p>
231
+ <div class="method-source-code" id="M000218-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-M000212" class="method-detail">
243
- <a name="M000212"></a>
242
+ <div id="method-M000219" class="method-detail">
243
+ <a name="M000219"></a>
244
244
 
245
245
  <div class="method-heading">
246
- <a href="#M000212" class="method-signature">
246
+ <a href="#M000219" 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('M000212-source');return false;">[Source]</a></p>
254
- <div class="method-source-code" id="M000212-source">
253
+ onclick="toggleCode('M000219-source');return false;">[Source]</a></p>
254
+ <div class="method-source-code" id="M000219-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-M000208" class="method-detail">
266
- <a name="M000208"></a>
265
+ <div id="method-M000215" class="method-detail">
266
+ <a name="M000215"></a>
267
267
 
268
268
  <div class="method-heading">
269
- <a href="#M000208" class="method-signature">
269
+ <a href="#M000215" 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('M000208-source');return false;">[Source]</a></p>
277
- <div class="method-source-code" id="M000208-source">
276
+ onclick="toggleCode('M000215-source');return false;">[Source]</a></p>
277
+ <div class="method-source-code" id="M000215-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="#M000080">new</a>&nbsp;&nbsp;
96
- <a href="#M000082">parse</a>&nbsp;&nbsp;
97
- <a href="#M000081">read_from_store</a>&nbsp;&nbsp;
95
+ <a href="#M000086">new</a>&nbsp;&nbsp;
96
+ <a href="#M000088">parse</a>&nbsp;&nbsp;
97
+ <a href="#M000087">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-M000080" class="method-detail">
152
- <a name="M000080"></a>
151
+ <div id="method-M000086" class="method-detail">
152
+ <a name="M000086"></a>
153
153
 
154
154
  <div class="method-heading">
155
- <a href="#M000080" class="method-signature">
155
+ <a href="#M000086" 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('M000080-source');return false;">[Source]</a></p>
163
- <div class="method-source-code" id="M000080-source">
162
+ onclick="toggleCode('M000086-source');return false;">[Source]</a></p>
163
+ <div class="method-source-code" id="M000086-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-M000082" class="method-detail">
177
- <a name="M000082"></a>
176
+ <div id="method-M000088" class="method-detail">
177
+ <a name="M000088"></a>
178
178
 
179
179
  <div class="method-heading">
180
- <a href="#M000082" class="method-signature">
180
+ <a href="#M000088" 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('M000082-source');return false;">[Source]</a></p>
188
- <div class="method-source-code" id="M000082-source">
187
+ onclick="toggleCode('M000088-source');return false;">[Source]</a></p>
188
+ <div class="method-source-code" id="M000088-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-M000081" class="method-detail">
236
- <a name="M000081"></a>
235
+ <div id="method-M000087" class="method-detail">
236
+ <a name="M000087"></a>
237
237
 
238
238
  <div class="method-heading">
239
- <a href="#M000081" class="method-signature">
239
+ <a href="#M000087" 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#M000171">Store.facet</a> for
260
+ <tr><td valign="top">params:</td><td>additional params. See <a href="../Store.html#M000178">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('M000081-source');return false;">[Source]</a></p>
267
- <div class="method-source-code" id="M000081-source">
266
+ onclick="toggleCode('M000087-source');return false;">[Source]</a></p>
267
+ <div class="method-source-code" id="M000087-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>)