~ubuntu-branches/ubuntu/trusty/hyperestraier/trusty-proposed

« back to all changes in this revision

Viewing changes to doc/javanativeapi/estraier/Database.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2006-11-14 05:28:32 UTC
  • mfrom: (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061114052832-0lzqzcefn8mt4yqe
Tags: 1.4.9-1.1
* Non-maintainer upload.
* High-urgency upload for RC bugfix.
* Set HOME=$(CURDIR)/junkhome when building, otherwise the package build
  will incorrectly look for headers there -- and fail when the directory
  exists and is unreadable, as happens sometimes on sudo-using
  autobuilders!

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<!--NewPage-->
3
3
<HTML>
4
4
<HEAD>
5
 
<!-- Generated by javadoc (build 1.4.2_06) on Fri Nov 18 00:48:29 JST 2005 -->
 
5
<!-- Generated by javadoc (build 1.4.2_06) on Sat Nov 11 19:57:54 JST 2006 -->
6
6
<TITLE>
7
7
Database (estraier)
8
8
</TITLE>
48
48
<TR>
49
49
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
50
50
&nbsp;<A HREF="../estraier/Condition.html" title="class in estraier"><B>PREV CLASS</B></A>&nbsp;
51
 
&nbsp;<A HREF="../estraier/Document.html" title="class in estraier"><B>NEXT CLASS</B></A></FONT></TD>
 
51
&nbsp;<A HREF="../estraier/DatabaseInformer.html" title="interface in estraier"><B>NEXT CLASS</B></A></FONT></TD>
52
52
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53
53
  <A HREF="../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
54
54
&nbsp;<A HREF="Database.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
112
112
<TR BGCOLOR="white" CLASS="TableRowColor">
113
113
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
114
114
<CODE>static&nbsp;int</CODE></FONT></TD>
 
115
<TD><CODE><B><A HREF="../estraier/Database.html#DBCHRCAT">DBCHRCAT</A></B></CODE>
 
116
 
 
117
<BR>
 
118
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open mode: use character category analyzer</TD>
 
119
</TR>
 
120
<TR BGCOLOR="white" CLASS="TableRowColor">
 
121
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
122
<CODE>static&nbsp;int</CODE></FONT></TD>
115
123
<TD><CODE><B><A HREF="../estraier/Database.html#DBCREAT">DBCREAT</A></B></CODE>
116
124
 
117
125
<BR>
120
128
<TR BGCOLOR="white" CLASS="TableRowColor">
121
129
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
122
130
<CODE>static&nbsp;int</CODE></FONT></TD>
 
131
<TD><CODE><B><A HREF="../estraier/Database.html#DBHUGE">DBHUGE</A></B></CODE>
 
132
 
 
133
<BR>
 
134
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open mode: huge tuning</TD>
 
135
</TR>
 
136
<TR BGCOLOR="white" CLASS="TableRowColor">
 
137
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
138
<CODE>static&nbsp;int</CODE></FONT></TD>
 
139
<TD><CODE><B><A HREF="../estraier/Database.html#DBHUGE2">DBHUGE2</A></B></CODE>
 
140
 
 
141
<BR>
 
142
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open mode: huge tuning second</TD>
 
143
</TR>
 
144
<TR BGCOLOR="white" CLASS="TableRowColor">
 
145
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
146
<CODE>static&nbsp;int</CODE></FONT></TD>
 
147
<TD><CODE><B><A HREF="../estraier/Database.html#DBHUGE3">DBHUGE3</A></B></CODE>
 
148
 
 
149
<BR>
 
150
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open mode: huge tuning third</TD>
 
151
</TR>
 
152
<TR BGCOLOR="white" CLASS="TableRowColor">
 
153
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
154
<CODE>static&nbsp;int</CODE></FONT></TD>
 
155
<TD><CODE><B><A HREF="../estraier/Database.html#DBLARGE">DBLARGE</A></B></CODE>
 
156
 
 
157
<BR>
 
158
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open mode: large tuning</TD>
 
159
</TR>
 
160
<TR BGCOLOR="white" CLASS="TableRowColor">
 
161
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
162
<CODE>static&nbsp;int</CODE></FONT></TD>
123
163
<TD><CODE><B><A HREF="../estraier/Database.html#DBLCKNB">DBLCKNB</A></B></CODE>
124
164
 
125
165
<BR>
152
192
<TR BGCOLOR="white" CLASS="TableRowColor">
153
193
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
154
194
<CODE>static&nbsp;int</CODE></FONT></TD>
 
195
<TD><CODE><B><A HREF="../estraier/Database.html#DBSCASIS">DBSCASIS</A></B></CODE>
 
196
 
 
197
<BR>
 
198
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open mode: refrain from adjustment of scores</TD>
 
199
</TR>
 
200
<TR BGCOLOR="white" CLASS="TableRowColor">
 
201
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
202
<CODE>static&nbsp;int</CODE></FONT></TD>
 
203
<TD><CODE><B><A HREF="../estraier/Database.html#DBSCINT">DBSCINT</A></B></CODE>
 
204
 
 
205
<BR>
 
206
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open mode: store scores as integer</TD>
 
207
</TR>
 
208
<TR BGCOLOR="white" CLASS="TableRowColor">
 
209
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
210
<CODE>static&nbsp;int</CODE></FONT></TD>
 
211
<TD><CODE><B><A HREF="../estraier/Database.html#DBSCVOID">DBSCVOID</A></B></CODE>
 
212
 
 
213
<BR>
 
214
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open mode: store scores as void</TD>
 
215
</TR>
 
216
<TR BGCOLOR="white" CLASS="TableRowColor">
 
217
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
218
<CODE>static&nbsp;int</CODE></FONT></TD>
 
219
<TD><CODE><B><A HREF="../estraier/Database.html#DBSMALL">DBSMALL</A></B></CODE>
 
220
 
 
221
<BR>
 
222
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;open mode: small tuning</TD>
 
223
</TR>
 
224
<TR BGCOLOR="white" CLASS="TableRowColor">
 
225
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
226
<CODE>static&nbsp;int</CODE></FONT></TD>
155
227
<TD><CODE><B><A HREF="../estraier/Database.html#DBTRUNC">DBTRUNC</A></B></CODE>
156
228
 
157
229
<BR>
240
312
<TR BGCOLOR="white" CLASS="TableRowColor">
241
313
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
242
314
<CODE>static&nbsp;int</CODE></FONT></TD>
 
315
<TD><CODE><B><A HREF="../estraier/Database.html#GDNOKWD">GDNOKWD</A></B></CODE>
 
316
 
 
317
<BR>
 
318
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;get_doc option: no keywords</TD>
 
319
</TR>
 
320
<TR BGCOLOR="white" CLASS="TableRowColor">
 
321
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
322
<CODE>static&nbsp;int</CODE></FONT></TD>
243
323
<TD><CODE><B><A HREF="../estraier/Database.html#GDNOTEXT">GDNOTEXT</A></B></CODE>
244
324
 
245
325
<BR>
248
328
<TR BGCOLOR="white" CLASS="TableRowColor">
249
329
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
250
330
<CODE>static&nbsp;int</CODE></FONT></TD>
 
331
<TD><CODE><B><A HREF="../estraier/Database.html#IDXATTRNUM">IDXATTRNUM</A></B></CODE>
 
332
 
 
333
<BR>
 
334
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attribute index type: for narrowing with attributes as numbers</TD>
 
335
</TR>
 
336
<TR BGCOLOR="white" CLASS="TableRowColor">
 
337
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
338
<CODE>static&nbsp;int</CODE></FONT></TD>
 
339
<TD><CODE><B><A HREF="../estraier/Database.html#IDXATTRSEQ">IDXATTRSEQ</A></B></CODE>
 
340
 
 
341
<BR>
 
342
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attribute index type: for multipurpose sequencial access method</TD>
 
343
</TR>
 
344
<TR BGCOLOR="white" CLASS="TableRowColor">
 
345
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
346
<CODE>static&nbsp;int</CODE></FONT></TD>
 
347
<TD><CODE><B><A HREF="../estraier/Database.html#IDXATTRSTR">IDXATTRSTR</A></B></CODE>
 
348
 
 
349
<BR>
 
350
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attribute index type: for narrowing with attributes as strings</TD>
 
351
</TR>
 
352
<TR BGCOLOR="white" CLASS="TableRowColor">
 
353
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
354
<CODE>static&nbsp;int</CODE></FONT></TD>
 
355
<TD><CODE><B><A HREF="../estraier/Database.html#MGCLEAN">MGCLEAN</A></B></CODE>
 
356
 
 
357
<BR>
 
358
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;merge option: clean up dispensable regions</TD>
 
359
</TR>
 
360
<TR BGCOLOR="white" CLASS="TableRowColor">
 
361
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
362
<CODE>static&nbsp;int</CODE></FONT></TD>
251
363
<TD><CODE><B><A HREF="../estraier/Database.html#ODCLEAN">ODCLEAN</A></B></CODE>
252
364
 
253
365
<BR>
279
391
</TR>
280
392
<TR BGCOLOR="white" CLASS="TableRowColor">
281
393
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
394
<CODE>static&nbsp;int</CODE></FONT></TD>
 
395
<TD><CODE><B><A HREF="../estraier/Database.html#PDWEIGHT">PDWEIGHT</A></B></CODE>
 
396
 
 
397
<BR>
 
398
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;put_doc option:  weight scores statically when indexing</TD>
 
399
</TR>
 
400
<TR BGCOLOR="white" CLASS="TableRowColor">
 
401
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
282
402
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
283
403
<TD><CODE><B><A HREF="../estraier/Database.html#VERSION">VERSION</A></B></CODE>
284
404
 
314
434
<TR BGCOLOR="white" CLASS="TableRowColor">
315
435
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
316
436
<CODE>&nbsp;boolean</CODE></FONT></TD>
 
437
<TD><CODE><B><A HREF="../estraier/Database.html#add_attr_index(java.lang.String, int)">add_attr_index</A></B>(java.lang.String&nbsp;name,
 
438
               int&nbsp;type)</CODE>
 
439
 
 
440
<BR>
 
441
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add an index for narrowing or sorting with document attributes.</TD>
 
442
</TR>
 
443
<TR BGCOLOR="white" CLASS="TableRowColor">
 
444
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
445
<CODE>&nbsp;boolean</CODE></FONT></TD>
 
446
<TD><CODE><B><A HREF="../estraier/Database.html#add_pseudo_index(java.lang.String)">add_pseudo_index</A></B>(java.lang.String&nbsp;path)</CODE>
 
447
 
 
448
<BR>
 
449
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a pseudo index directory.</TD>
 
450
</TR>
 
451
<TR BGCOLOR="white" CLASS="TableRowColor">
 
452
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
453
<CODE>&nbsp;boolean</CODE></FONT></TD>
317
454
<TD><CODE><B><A HREF="../estraier/Database.html#close()">close</A></B>()</CODE>
318
455
 
319
456
<BR>
395
532
</TR>
396
533
<TR BGCOLOR="white" CLASS="TableRowColor">
397
534
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
535
<CODE>&nbsp;boolean</CODE></FONT></TD>
 
536
<TD><CODE><B><A HREF="../estraier/Database.html#merge(java.lang.String, int)">merge</A></B>(java.lang.String&nbsp;name,
 
537
      int&nbsp;options)</CODE>
 
538
 
 
539
<BR>
 
540
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Merge another database.</TD>
 
541
</TR>
 
542
<TR BGCOLOR="white" CLASS="TableRowColor">
 
543
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
398
544
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
399
545
<TD><CODE><B><A HREF="../estraier/Database.html#name()">name</A></B>()</CODE>
400
546
 
447
593
</TR>
448
594
<TR BGCOLOR="white" CLASS="TableRowColor">
449
595
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
596
<CODE>static&nbsp;<A HREF="../estraier/Result.html" title="class in estraier">Result</A></CODE></FONT></TD>
 
597
<TD><CODE><B><A HREF="../estraier/Database.html#search_meta(estraier.Database[], estraier.Condition)">search_meta</A></B>(<A HREF="../estraier/Database.html" title="class in estraier">Database</A>[]&nbsp;dbs,
 
598
            <A HREF="../estraier/Condition.html" title="class in estraier">Condition</A>&nbsp;cond)</CODE>
 
599
 
 
600
<BR>
 
601
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Search plural databases for documents corresponding a condition.</TD>
 
602
</TR>
 
603
<TR BGCOLOR="white" CLASS="TableRowColor">
 
604
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
450
605
<CODE>&nbsp;<A HREF="../estraier/Result.html" title="class in estraier">Result</A></CODE></FONT></TD>
451
606
<TD><CODE><B><A HREF="../estraier/Database.html#search(estraier.Condition)">search</A></B>(<A HREF="../estraier/Condition.html" title="class in estraier">Condition</A>&nbsp;cond)</CODE>
452
607
 
453
608
<BR>
454
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Search documents corresponding a condition.</TD>
 
609
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Search for documents corresponding a condition.</TD>
455
610
</TR>
456
611
<TR BGCOLOR="white" CLASS="TableRowColor">
457
612
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
466
621
</TR>
467
622
<TR BGCOLOR="white" CLASS="TableRowColor">
468
623
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
624
<CODE>&nbsp;void</CODE></FONT></TD>
 
625
<TD><CODE><B><A HREF="../estraier/Database.html#set_informer(estraier.DatabaseInformer)">set_informer</A></B>(<A HREF="../estraier/DatabaseInformer.html" title="interface in estraier">DatabaseInformer</A>&nbsp;informer)</CODE>
 
626
 
 
627
<BR>
 
628
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the callback function to inform of database events.</TD>
 
629
</TR>
 
630
<TR BGCOLOR="white" CLASS="TableRowColor">
 
631
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
 
632
<CODE>&nbsp;void</CODE></FONT></TD>
 
633
<TD><CODE><B><A HREF="../estraier/Database.html#set_wildmax(int)">set_wildmax</A></B>(int&nbsp;num)</CODE>
 
634
 
 
635
<BR>
 
636
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the maximum number of expansion of wild cards.</TD>
 
637
</TR>
 
638
<TR BGCOLOR="white" CLASS="TableRowColor">
 
639
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
469
640
<CODE>&nbsp;double</CODE></FONT></TD>
470
641
<TD><CODE><B><A HREF="../estraier/Database.html#size()">size</A></B>()</CODE>
471
642
 
519
690
</TR>
520
691
</TABLE>
521
692
 
 
693
<A NAME="DBCHRCAT"><!-- --></A><H3>
 
694
DBCHRCAT</H3>
 
695
<PRE>
 
696
public static final int <B>DBCHRCAT</B></PRE>
 
697
<DL>
 
698
<DD>open mode: use character category analyzer
 
699
<P>
 
700
<DL>
 
701
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.DBCHRCAT">Constant Field Values</A></DL>
 
702
</DL>
 
703
<HR>
 
704
 
522
705
<A NAME="DBCREAT"><!-- --></A><H3>
523
706
DBCREAT</H3>
524
707
<PRE>
531
714
</DL>
532
715
<HR>
533
716
 
 
717
<A NAME="DBHUGE"><!-- --></A><H3>
 
718
DBHUGE</H3>
 
719
<PRE>
 
720
public static final int <B>DBHUGE</B></PRE>
 
721
<DL>
 
722
<DD>open mode: huge tuning
 
723
<P>
 
724
<DL>
 
725
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.DBHUGE">Constant Field Values</A></DL>
 
726
</DL>
 
727
<HR>
 
728
 
 
729
<A NAME="DBHUGE2"><!-- --></A><H3>
 
730
DBHUGE2</H3>
 
731
<PRE>
 
732
public static final int <B>DBHUGE2</B></PRE>
 
733
<DL>
 
734
<DD>open mode: huge tuning second
 
735
<P>
 
736
<DL>
 
737
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.DBHUGE2">Constant Field Values</A></DL>
 
738
</DL>
 
739
<HR>
 
740
 
 
741
<A NAME="DBHUGE3"><!-- --></A><H3>
 
742
DBHUGE3</H3>
 
743
<PRE>
 
744
public static final int <B>DBHUGE3</B></PRE>
 
745
<DL>
 
746
<DD>open mode: huge tuning third
 
747
<P>
 
748
<DL>
 
749
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.DBHUGE3">Constant Field Values</A></DL>
 
750
</DL>
 
751
<HR>
 
752
 
 
753
<A NAME="DBLARGE"><!-- --></A><H3>
 
754
DBLARGE</H3>
 
755
<PRE>
 
756
public static final int <B>DBLARGE</B></PRE>
 
757
<DL>
 
758
<DD>open mode: large tuning
 
759
<P>
 
760
<DL>
 
761
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.DBLARGE">Constant Field Values</A></DL>
 
762
</DL>
 
763
<HR>
 
764
 
534
765
<A NAME="DBLCKNB"><!-- --></A><H3>
535
766
DBLCKNB</H3>
536
767
<PRE>
579
810
</DL>
580
811
<HR>
581
812
 
 
813
<A NAME="DBSCASIS"><!-- --></A><H3>
 
814
DBSCASIS</H3>
 
815
<PRE>
 
816
public static final int <B>DBSCASIS</B></PRE>
 
817
<DL>
 
818
<DD>open mode: refrain from adjustment of scores
 
819
<P>
 
820
<DL>
 
821
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.DBSCASIS">Constant Field Values</A></DL>
 
822
</DL>
 
823
<HR>
 
824
 
 
825
<A NAME="DBSCINT"><!-- --></A><H3>
 
826
DBSCINT</H3>
 
827
<PRE>
 
828
public static final int <B>DBSCINT</B></PRE>
 
829
<DL>
 
830
<DD>open mode: store scores as integer
 
831
<P>
 
832
<DL>
 
833
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.DBSCINT">Constant Field Values</A></DL>
 
834
</DL>
 
835
<HR>
 
836
 
 
837
<A NAME="DBSCVOID"><!-- --></A><H3>
 
838
DBSCVOID</H3>
 
839
<PRE>
 
840
public static final int <B>DBSCVOID</B></PRE>
 
841
<DL>
 
842
<DD>open mode: store scores as void
 
843
<P>
 
844
<DL>
 
845
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.DBSCVOID">Constant Field Values</A></DL>
 
846
</DL>
 
847
<HR>
 
848
 
 
849
<A NAME="DBSMALL"><!-- --></A><H3>
 
850
DBSMALL</H3>
 
851
<PRE>
 
852
public static final int <B>DBSMALL</B></PRE>
 
853
<DL>
 
854
<DD>open mode: small tuning
 
855
<P>
 
856
<DL>
 
857
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.DBSMALL">Constant Field Values</A></DL>
 
858
</DL>
 
859
<HR>
 
860
 
582
861
<A NAME="DBTRUNC"><!-- --></A><H3>
583
862
DBTRUNC</H3>
584
863
<PRE>
711
990
</DL>
712
991
<HR>
713
992
 
 
993
<A NAME="GDNOKWD"><!-- --></A><H3>
 
994
GDNOKWD</H3>
 
995
<PRE>
 
996
public static final int <B>GDNOKWD</B></PRE>
 
997
<DL>
 
998
<DD>get_doc option: no keywords
 
999
<P>
 
1000
<DL>
 
1001
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.GDNOKWD">Constant Field Values</A></DL>
 
1002
</DL>
 
1003
<HR>
 
1004
 
714
1005
<A NAME="GDNOTEXT"><!-- --></A><H3>
715
1006
GDNOTEXT</H3>
716
1007
<PRE>
723
1014
</DL>
724
1015
<HR>
725
1016
 
 
1017
<A NAME="IDXATTRNUM"><!-- --></A><H3>
 
1018
IDXATTRNUM</H3>
 
1019
<PRE>
 
1020
public static final int <B>IDXATTRNUM</B></PRE>
 
1021
<DL>
 
1022
<DD>attribute index type: for narrowing with attributes as numbers
 
1023
<P>
 
1024
<DL>
 
1025
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.IDXATTRNUM">Constant Field Values</A></DL>
 
1026
</DL>
 
1027
<HR>
 
1028
 
 
1029
<A NAME="IDXATTRSEQ"><!-- --></A><H3>
 
1030
IDXATTRSEQ</H3>
 
1031
<PRE>
 
1032
public static final int <B>IDXATTRSEQ</B></PRE>
 
1033
<DL>
 
1034
<DD>attribute index type: for multipurpose sequencial access method
 
1035
<P>
 
1036
<DL>
 
1037
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.IDXATTRSEQ">Constant Field Values</A></DL>
 
1038
</DL>
 
1039
<HR>
 
1040
 
 
1041
<A NAME="IDXATTRSTR"><!-- --></A><H3>
 
1042
IDXATTRSTR</H3>
 
1043
<PRE>
 
1044
public static final int <B>IDXATTRSTR</B></PRE>
 
1045
<DL>
 
1046
<DD>attribute index type: for narrowing with attributes as strings
 
1047
<P>
 
1048
<DL>
 
1049
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.IDXATTRSTR">Constant Field Values</A></DL>
 
1050
</DL>
 
1051
<HR>
 
1052
 
 
1053
<A NAME="MGCLEAN"><!-- --></A><H3>
 
1054
MGCLEAN</H3>
 
1055
<PRE>
 
1056
public static final int <B>MGCLEAN</B></PRE>
 
1057
<DL>
 
1058
<DD>merge option: clean up dispensable regions
 
1059
<P>
 
1060
<DL>
 
1061
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.MGCLEAN">Constant Field Values</A></DL>
 
1062
</DL>
 
1063
<HR>
 
1064
 
726
1065
<A NAME="ODCLEAN"><!-- --></A><H3>
727
1066
ODCLEAN</H3>
728
1067
<PRE>
771
1110
</DL>
772
1111
<HR>
773
1112
 
 
1113
<A NAME="PDWEIGHT"><!-- --></A><H3>
 
1114
PDWEIGHT</H3>
 
1115
<PRE>
 
1116
public static final int <B>PDWEIGHT</B></PRE>
 
1117
<DL>
 
1118
<DD>put_doc option:  weight scores statically when indexing
 
1119
<P>
 
1120
<DL>
 
1121
<DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Database.PDWEIGHT">Constant Field Values</A></DL>
 
1122
</DL>
 
1123
<HR>
 
1124
 
774
1125
<A NAME="VERSION"><!-- --></A><H3>
775
1126
VERSION</H3>
776
1127
<PRE>
811
1162
</TR>
812
1163
</TABLE>
813
1164
 
 
1165
<A NAME="add_attr_index(java.lang.String, int)"><!-- --></A><H3>
 
1166
add_attr_index</H3>
 
1167
<PRE>
 
1168
public boolean <B>add_attr_index</B>(java.lang.String&nbsp;name,
 
1169
                              int&nbsp;type)</PRE>
 
1170
<DL>
 
1171
<DD>Add an index for narrowing or sorting with document attributes.
 
1172
<P>
 
1173
<DD><DL>
 
1174
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of an attribute.<DD><CODE>type</CODE> - the data type of attribute index; `Database.IDXATTRSEQ' for multipurpose
 
1175
 sequencial access method, `Database.IDXATTRSTR' for narrowing with attributes as strings,
 
1176
 `Database.IDXATTRNUM' for narrowing with attributes as numbers.
 
1177
<DT><B>Returns:</B><DD>true if success, else it is false.</DL>
 
1178
</DD>
 
1179
</DL>
 
1180
<HR>
 
1181
 
 
1182
<A NAME="add_pseudo_index(java.lang.String)"><!-- --></A><H3>
 
1183
add_pseudo_index</H3>
 
1184
<PRE>
 
1185
public boolean <B>add_pseudo_index</B>(java.lang.String&nbsp;path)</PRE>
 
1186
<DL>
 
1187
<DD>Add a pseudo index directory.
 
1188
<P>
 
1189
<DD><DL>
 
1190
<DT><B>Parameters:</B><DD><CODE>path</CODE> - the path of a pseudo index directory.
 
1191
<DT><B>Returns:</B><DD>true if success, else it is false.</DL>
 
1192
</DD>
 
1193
</DL>
 
1194
<HR>
 
1195
 
814
1196
<A NAME="close()"><!-- --></A><H3>
815
1197
close</H3>
816
1198
<PRE>
948
1330
<P>
949
1331
<DD><DL>
950
1332
<DT><B>Parameters:</B><DD><CODE>id</CODE> - the ID number of a registered document.<DD><CODE>options</CODE> - options: `Database.GDNOATTR' to ignore attributes, `Database.GDNOTEXT' to
951
 
 ignore the body text.  The two can be specified at the same time by bitwise or.
 
1333
 ignore the body text, `Database.GDNOKWD' to ignore keywords.  The three can be specified at
 
1334
   # the same time by bitwise or.
952
1335
<DT><B>Returns:</B><DD>a document object.  On error, `null' is returned.</DL>
953
1336
</DD>
954
1337
</DL>
955
1338
<HR>
956
1339
 
 
1340
<A NAME="merge(java.lang.String, int)"><!-- --></A><H3>
 
1341
merge</H3>
 
1342
<PRE>
 
1343
public boolean <B>merge</B>(java.lang.String&nbsp;name,
 
1344
                     int&nbsp;options)</PRE>
 
1345
<DL>
 
1346
<DD>Merge another database.
 
1347
<P>
 
1348
<DD><DL>
 
1349
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of another database directory.<DD><CODE>options</CODE> - options: `Database.MGCLEAN' to clean up dispensable regions of the deleted
 
1350
 document.
 
1351
<DT><B>Returns:</B><DD>true if success, else it is false.</DL>
 
1352
</DD>
 
1353
</DL>
 
1354
<HR>
 
1355
 
957
1356
<A NAME="name()"><!-- --></A><H3>
958
1357
name</H3>
959
1358
<PRE>
985
1384
 opens a database file without file locking, or `Database.DBLCKNB', which means locking is
986
1385
 performed without blocking.  If `Database.DBNOLCK' is used, the application is responsible
987
1386
 for exclusion control.  `Database.DBCREAT' can be added to by bitwise or:
988
 
 `Database.DBPERFNG', which means N-gram analysis is performed against European text also.
 
1387
 `Database.DBPERFNG', which means N-gram analysis is performed against European text also,
 
1388
 `Database.DBCHACAT', which means character category analysis is performed instead of N-gram
 
1389
 analysis, `Database.DBSMALL', which means the index is tuned to register less than 50000
 
1390
 documents, `Database.DBLARGE', which means the index is tuned to register more than 300000
 
1391
 documents, `Database.DBHUGE', which means the index is tuned to register more than 1000000
 
1392
 documents, `Database.DBHUGE2', which means the index is tuned to register more than 5000000
 
1393
 documents, `Database.DBHUGE3', which means the index is tuned to register more than 10000000
 
1394
 documents, `Database.DBSCVOID', which means scores are stored as void, `Database.DBSCINT',
 
1395
 which means scores are stored as 32-bit integer, `Database.DBSCASIS', which means scores
 
1396
 are stored as-is and marked not to be tuned when search.
989
1397
<DT><B>Returns:</B><DD>true if success, else it is false.</DL>
990
1398
</DD>
991
1399
</DL>
1055
1463
</DL>
1056
1464
<HR>
1057
1465
 
 
1466
<A NAME="search_meta(estraier.Database[], estraier.Condition)"><!-- --></A><H3>
 
1467
search_meta</H3>
 
1468
<PRE>
 
1469
public static <A HREF="../estraier/Result.html" title="class in estraier">Result</A> <B>search_meta</B>(<A HREF="../estraier/Database.html" title="class in estraier">Database</A>[]&nbsp;dbs,
 
1470
                                 <A HREF="../estraier/Condition.html" title="class in estraier">Condition</A>&nbsp;cond)</PRE>
 
1471
<DL>
 
1472
<DD>Search plural databases for documents corresponding a condition.
 
1473
<P>
 
1474
<DD><DL>
 
1475
<DT><B>Parameters:</B><DD><CODE>dbs</CODE> - an array whose elements are database objects.<DD><CODE>cond</CODE> - a condition object.
 
1476
<DT><B>Returns:</B><DD>a result object.  On error, `null' is returned.</DL>
 
1477
</DD>
 
1478
</DL>
 
1479
<HR>
 
1480
 
1058
1481
<A NAME="search(estraier.Condition)"><!-- --></A><H3>
1059
1482
search</H3>
1060
1483
<PRE>
1061
1484
public <A HREF="../estraier/Result.html" title="class in estraier">Result</A> <B>search</B>(<A HREF="../estraier/Condition.html" title="class in estraier">Condition</A>&nbsp;cond)</PRE>
1062
1485
<DL>
1063
 
<DD>Search documents corresponding a condition.
 
1486
<DD>Search for documents corresponding a condition.
1064
1487
<P>
1065
1488
<DD><DL>
1066
1489
<DT><B>Parameters:</B><DD><CODE>cond</CODE> - a condition object.
1089
1512
</DL>
1090
1513
<HR>
1091
1514
 
 
1515
<A NAME="set_informer(estraier.DatabaseInformer)"><!-- --></A><H3>
 
1516
set_informer</H3>
 
1517
<PRE>
 
1518
public void <B>set_informer</B>(<A HREF="../estraier/DatabaseInformer.html" title="interface in estraier">DatabaseInformer</A>&nbsp;informer)</PRE>
 
1519
<DL>
 
1520
<DD>Set the callback function to inform of database events.
 
1521
<P>
 
1522
<DD><DL>
 
1523
<DT><B>Parameters:</B><DD><CODE>informer</CODE> - an arbitrary object with a method named as `inform'.</DL>
 
1524
</DD>
 
1525
</DL>
 
1526
<HR>
 
1527
 
 
1528
<A NAME="set_wildmax(int)"><!-- --></A><H3>
 
1529
set_wildmax</H3>
 
1530
<PRE>
 
1531
public void <B>set_wildmax</B>(int&nbsp;num)</PRE>
 
1532
<DL>
 
1533
<DD>Set the maximum number of expansion of wild cards.
 
1534
<P>
 
1535
<DD><DL>
 
1536
<DT><B>Parameters:</B><DD><CODE>num</CODE> - the maximum number of expansion of wild cards.</DL>
 
1537
</DD>
 
1538
</DL>
 
1539
<HR>
 
1540
 
1092
1541
<A NAME="size()"><!-- --></A><H3>
1093
1542
size</H3>
1094
1543
<PRE>
1172
1621
<TR>
1173
1622
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1174
1623
&nbsp;<A HREF="../estraier/Condition.html" title="class in estraier"><B>PREV CLASS</B></A>&nbsp;
1175
 
&nbsp;<A HREF="../estraier/Document.html" title="class in estraier"><B>NEXT CLASS</B></A></FONT></TD>
 
1624
&nbsp;<A HREF="../estraier/DatabaseInformer.html" title="interface in estraier"><B>NEXT CLASS</B></A></FONT></TD>
1176
1625
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
1177
1626
  <A HREF="../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
1178
1627
&nbsp;<A HREF="Database.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;