92
92
<h3 class="section-bar">Methods</h3>
94
94
<div class="name-list">
95
<a href="#M000038">add_attr</a>
96
<a href="#M000043">attrs</a>
97
<a href="#M000045">max</a>
98
<a href="#M000047">new</a>
99
<a href="#M000046">options</a>
100
<a href="#M000044">order</a>
101
<a href="#M000042">phrase</a>
102
<a href="#M000040">set_max</a>
103
<a href="#M000041">set_options</a>
104
<a href="#M000039">set_order</a>
105
<a href="#M000037">set_phrase</a>
95
<a href="#M000044">add_attr</a>
96
<a href="#M000053">attrs</a>
97
<a href="#M000058">auxiliary</a>
98
<a href="#M000059">distinct</a>
99
<a href="#M000060">mask</a>
100
<a href="#M000055">max</a>
101
<a href="#M000061">new</a>
102
<a href="#M000057">options</a>
103
<a href="#M000054">order</a>
104
<a href="#M000052">phrase</a>
105
<a href="#M000049">set_auxiliary</a>
106
<a href="#M000050">set_distinct</a>
107
<a href="#M000051">set_mask</a>
108
<a href="#M000046">set_max</a>
109
<a href="#M000048">set_options</a>
110
<a href="#M000045">set_order</a>
111
<a href="#M000043">set_phrase</a>
112
<a href="#M000047">set_skip</a>
113
<a href="#M000056">skip</a>
175
183
<td class="context-item-value">1 << 10</td>
176
184
<td width="3em"> </td>
177
185
<td class="context-item-desc">
178
option: check N-gram keys skipping by one
182
<tr class="top-aligned-row context-row">
183
<td class="context-item-name">ETCH</td>
185
<td class="context-item-value">1 << 20</td>
186
<td width="3em"> </td>
187
<td class="context-item-desc">
188
option: attach keywords
186
option: with the simplified phrase
190
<tr class="top-aligned-row context-row">
191
<td class="context-item-name">ROUGH</td>
193
<td class="context-item-value">1 << 11</td>
194
<td width="3em"> </td>
195
<td class="context-item-desc">
196
option: with the rough phrase
200
<tr class="top-aligned-row context-row">
201
<td class="context-item-name">UNION</td>
203
<td class="context-item-value">1 << 15</td>
204
<td width="3em"> </td>
205
<td class="context-item-desc">
206
option: with the union phrase
210
<tr class="top-aligned-row context-row">
211
<td class="context-item-name">ISECT</td>
213
<td class="context-item-value">1 << 16</td>
214
<td width="3em"> </td>
215
<td class="context-item-desc">
216
option: with the intersection phrase
202
230
<div id="methods">
203
231
<h3 class="section-bar">Public Class methods</h3>
205
<div id="method-M000047" class="method-detail">
206
<a name="M000047"></a>
233
<div id="method-M000061" class="method-detail">
234
<a name="M000061"></a>
208
236
<div class="method-heading">
209
<a href="Condition.src/M000047.html" target="Code" class="method-signature"
210
onclick="popupCode('Condition.src/M000047.html');return false;">
237
<a href="Condition.src/M000061.html" target="Code" class="method-signature"
238
onclick="popupCode('Condition.src/M000061.html');return false;">
211
239
<span class="method-name">new</span><span class="method-args">()</span>
222
250
<h3 class="section-bar">Public Instance methods</h3>
224
<div id="method-M000038" class="method-detail">
225
<a name="M000038"></a>
252
<div id="method-M000044" class="method-detail">
253
<a name="M000044"></a>
227
255
<div class="method-heading">
228
<a href="Condition.src/M000038.html" target="Code" class="method-signature"
229
onclick="popupCode('Condition.src/M000038.html');return false;">
256
<a href="Condition.src/M000044.html" target="Code" class="method-signature"
257
onclick="popupCode('Condition.src/M000044.html');return false;">
230
258
<span class="method-name">add_attr</span><span class="method-args">(expr)</span>
242
<div id="method-M000043" class="method-detail">
243
<a name="M000043"></a>
270
<div id="method-M000053" class="method-detail">
271
<a name="M000053"></a>
245
273
<div class="method-heading">
246
<a href="Condition.src/M000043.html" target="Code" class="method-signature"
247
onclick="popupCode('Condition.src/M000043.html');return false;">
274
<a href="Condition.src/M000053.html" target="Code" class="method-signature"
275
onclick="popupCode('Condition.src/M000053.html');return false;">
248
276
<span class="method-name">attrs</span><span class="method-args">()</span>
260
<div id="method-M000045" class="method-detail">
261
<a name="M000045"></a>
263
<div class="method-heading">
264
<a href="Condition.src/M000045.html" target="Code" class="method-signature"
265
onclick="popupCode('Condition.src/M000045.html');return false;">
288
<div id="method-M000058" class="method-detail">
289
<a name="M000058"></a>
291
<div class="method-heading">
292
<a href="Condition.src/M000058.html" target="Code" class="method-signature"
293
onclick="popupCode('Condition.src/M000058.html');return false;">
294
<span class="method-name">auxiliary</span><span class="method-args">()</span>
298
<div class="method-description">
300
Get permission to adopt result of the auxiliary index. The return value is
301
permission to adopt result of the auxiliary index.
306
<div id="method-M000059" class="method-detail">
307
<a name="M000059"></a>
309
<div class="method-heading">
310
<a href="Condition.src/M000059.html" target="Code" class="method-signature"
311
onclick="popupCode('Condition.src/M000059.html');return false;">
312
<span class="method-name">distinct</span><span class="method-args">()</span>
316
<div class="method-description">
318
Get the attribute distinction filter. The return value is the name of the
324
<div id="method-M000060" class="method-detail">
325
<a name="M000060"></a>
327
<div class="method-heading">
328
<a href="Condition.src/M000060.html" target="Code" class="method-signature"
329
onclick="popupCode('Condition.src/M000060.html');return false;">
330
<span class="method-name">mask</span><span class="method-args">()</span>
334
<div class="method-description">
336
Get the mask of targets of meta search. The return value is the mask of
337
targets of meta search.
342
<div id="method-M000055" class="method-detail">
343
<a name="M000055"></a>
345
<div class="method-heading">
346
<a href="Condition.src/M000055.html" target="Code" class="method-signature"
347
onclick="popupCode('Condition.src/M000055.html');return false;">
266
348
<span class="method-name">max</span><span class="method-args">()</span>
278
<div id="method-M000046" class="method-detail">
279
<a name="M000046"></a>
360
<div id="method-M000057" class="method-detail">
361
<a name="M000057"></a>
281
363
<div class="method-heading">
282
<a href="Condition.src/M000046.html" target="Code" class="method-signature"
283
onclick="popupCode('Condition.src/M000046.html');return false;">
364
<a href="Condition.src/M000057.html" target="Code" class="method-signature"
365
onclick="popupCode('Condition.src/M000057.html');return false;">
284
366
<span class="method-name">options</span><span class="method-args">()</span>
295
<div id="method-M000044" class="method-detail">
296
<a name="M000044"></a>
377
<div id="method-M000054" class="method-detail">
378
<a name="M000054"></a>
298
380
<div class="method-heading">
299
<a href="Condition.src/M000044.html" target="Code" class="method-signature"
300
onclick="popupCode('Condition.src/M000044.html');return false;">
381
<a href="Condition.src/M000054.html" target="Code" class="method-signature"
382
onclick="popupCode('Condition.src/M000054.html');return false;">
301
383
<span class="method-name">order</span><span class="method-args">()</span>
312
<div id="method-M000042" class="method-detail">
313
<a name="M000042"></a>
394
<div id="method-M000052" class="method-detail">
395
<a name="M000052"></a>
315
397
<div class="method-heading">
316
<a href="Condition.src/M000042.html" target="Code" class="method-signature"
317
onclick="popupCode('Condition.src/M000042.html');return false;">
398
<a href="Condition.src/M000052.html" target="Code" class="method-signature"
399
onclick="popupCode('Condition.src/M000052.html');return false;">
318
400
<span class="method-name">phrase</span><span class="method-args">()</span>
329
<div id="method-M000040" class="method-detail">
330
<a name="M000040"></a>
332
<div class="method-heading">
333
<a href="Condition.src/M000040.html" target="Code" class="method-signature"
334
onclick="popupCode('Condition.src/M000040.html');return false;">
411
<div id="method-M000049" class="method-detail">
412
<a name="M000049"></a>
414
<div class="method-heading">
415
<a href="Condition.src/M000049.html" target="Code" class="method-signature"
416
onclick="popupCode('Condition.src/M000049.html');return false;">
417
<span class="method-name">set_auxiliary</span><span class="method-args">(min)</span>
421
<div class="method-description">
423
Set permission to adopt result of the auxiliary index. `min’
424
specifies the minimum hits to adopt result of the auxiliary index. If it is
425
not more than 0, the auxiliary index is not used. By default, it is 32. The
426
return value is always `nil’.
431
<div id="method-M000050" class="method-detail">
432
<a name="M000050"></a>
434
<div class="method-heading">
435
<a href="Condition.src/M000050.html" target="Code" class="method-signature"
436
onclick="popupCode('Condition.src/M000050.html');return false;">
437
<span class="method-name">set_distinct</span><span class="method-args">(name)</span>
441
<div class="method-description">
443
Set the attribute distinction filter. `name’ specifies the name of an
444
attribute to be distinct. The return value is always `nil’.
449
<div id="method-M000051" class="method-detail">
450
<a name="M000051"></a>
452
<div class="method-heading">
453
<a href="Condition.src/M000051.html" target="Code" class="method-signature"
454
onclick="popupCode('Condition.src/M000051.html');return false;">
455
<span class="method-name">set_mask</span><span class="method-args">(mask)</span>
459
<div class="method-description">
461
Set the mask of targets of meta search. `mask’ specifies a masking
462
number. 1 means the first target, 2 means the second target, 4 means the
463
third target, and power values of 2 and their summation compose the mask.
464
The return value is always `nil’.
469
<div id="method-M000046" class="method-detail">
470
<a name="M000046"></a>
472
<div class="method-heading">
473
<a href="Condition.src/M000046.html" target="Code" class="method-signature"
474
onclick="popupCode('Condition.src/M000046.html');return false;">
335
475
<span class="method-name">set_max</span><span class="method-args">(max)</span>
348
<div id="method-M000041" class="method-detail">
349
<a name="M000041"></a>
488
<div id="method-M000048" class="method-detail">
489
<a name="M000048"></a>
351
491
<div class="method-heading">
352
<a href="Condition.src/M000041.html" target="Code" class="method-signature"
353
onclick="popupCode('Condition.src/M000041.html');return false;">
492
<a href="Condition.src/M000048.html" target="Code" class="method-signature"
493
onclick="popupCode('Condition.src/M000048.html');return false;">
354
494
<span class="method-name">set_options</span><span class="method-args">(options)</span>
363
503
N-gram keys with skipping one key, `Condition::FAST’ skips two keys,
364
504
`Condition::AGITO’ skips three keys, `Condition::NOIDF’
365
505
specifies not to perform TF-IDF tuning, `Condition::SIMPLE’ specifies
366
to use simplified phrase. `Condition::ETCH’ specifies to attach the
367
keyword vector. Each option can be specified at the same time by bitwise
368
or. If keys are skipped, though search speed is improved, the relevance
369
ratio grows less. The return value is always `nil’.
506
to use simplified phrase, `Condition::ROUGH’ specifies to use rough
507
phrase, `Condition.UNION’ specifies to use union phrase,
508
`Condition.ISECT’ specifies to use intersection phrase. Each option
509
can be specified at the same time by bitwise or. If keys are skipped,
510
though search speed is improved, the relevance ratio grows less. The return
511
value is always `nil’.
374
<div id="method-M000039" class="method-detail">
375
<a name="M000039"></a>
516
<div id="method-M000045" class="method-detail">
517
<a name="M000045"></a>
377
519
<div class="method-heading">
378
<a href="Condition.src/M000039.html" target="Code" class="method-signature"
379
onclick="popupCode('Condition.src/M000039.html');return false;">
520
<a href="Condition.src/M000045.html" target="Code" class="method-signature"
521
onclick="popupCode('Condition.src/M000045.html');return false;">
380
522
<span class="method-name">set_order</span><span class="method-args">(expr)</span>
393
<div id="method-M000037" class="method-detail">
394
<a name="M000037"></a>
535
<div id="method-M000043" class="method-detail">
536
<a name="M000043"></a>
396
538
<div class="method-heading">
397
<a href="Condition.src/M000037.html" target="Code" class="method-signature"
398
onclick="popupCode('Condition.src/M000037.html');return false;">
539
<a href="Condition.src/M000043.html" target="Code" class="method-signature"
540
onclick="popupCode('Condition.src/M000043.html');return false;">
399
541
<span class="method-name">set_phrase</span><span class="method-args">(phrase)</span>
553
<div id="method-M000047" class="method-detail">
554
<a name="M000047"></a>
556
<div class="method-heading">
557
<a href="Condition.src/M000047.html" target="Code" class="method-signature"
558
onclick="popupCode('Condition.src/M000047.html');return false;">
559
<span class="method-name">set_skip</span><span class="method-args">(skip)</span>
563
<div class="method-description">
565
Set the number of skipped documents. `skip’ specifies the number of
566
documents to be skipped in the search result. The return value is always
572
<div id="method-M000056" class="method-detail">
573
<a name="M000056"></a>
575
<div class="method-heading">
576
<a href="Condition.src/M000056.html" target="Code" class="method-signature"
577
onclick="popupCode('Condition.src/M000056.html');return false;">
578
<span class="method-name">skip</span><span class="method-args">()</span>
582
<div class="method-description">
584
Get the number of skipped documents. The return value is the number of
585
documents to be skipped in the search result.