<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.4.2_12) on Tue Dec 25 10:53:36 JST 2007 --> <TITLE> Condition (estraier) </TITLE> <META NAME="keywords" CONTENT="estraier.Condition class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Condition (estraier)"; } </SCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../estraier/Cmd.html" title="class in estraier"><B>PREV CLASS</B></A> <A HREF="../estraier/Database.html" title="class in estraier"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html" target="_top"><B>FRAMES</B></A> <A HREF="Condition.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> estraier</FONT> <BR> Class Condition</H2> <PRE> java.lang.Object <IMG SRC="../resources/inherit.gif" ALT="extended by"><B>estraier.Condition</B> </PRE> <HR> <DL> <DT>public class <B>Condition</B><DT>extends java.lang.Object</DL> <P> Abstraction of search condition. <P> <P> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <!-- =========== FIELD SUMMARY =========== --> <A NAME="field_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Field Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#AGITO">AGITO</A></B></CODE> <BR> option: check N-gram keys skipping by three</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static double</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#ECLDIR">ECLDIR</A></B></CODE> <BR> eclipse tuning: on directory basis</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static double</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#ECLFILE">ECLFILE</A></B></CODE> <BR> eclipse tuning: on file basis</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static double</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#ECLSERV">ECLSERV</A></B></CODE> <BR> eclipse tuning: on server basis</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static double</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#ECLSIMURL">ECLSIMURL</A></B></CODE> <BR> eclipse tuning: consider URL</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#FAST">FAST</A></B></CODE> <BR> option: check N-gram keys skipping by two</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#ISECT">ISECT</A></B></CODE> <BR> option: with the intersection phrase</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#NOIDF">NOIDF</A></B></CODE> <BR> option: without TF-IDF tuning</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#ROUGH">ROUGH</A></B></CODE> <BR> option: with the rough phrase</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#SIMPLE">SIMPLE</A></B></CODE> <BR> option: with the simplified phrase</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#SURE">SURE</A></B></CODE> <BR> option: check every N-gram key</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#UNION">UNION</A></B></CODE> <BR> option: with the union phrase</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>static int</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#USUAL">USUAL</A></B></CODE> <BR> option: check N-gram keys skipping by one</TD> </TR> </TABLE> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <A NAME="constructor_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Constructor Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><B><A HREF="../estraier/Condition.html#Condition()">Condition</A></B>()</CODE> <BR> Create a search condition object.</TD> </TR> </TABLE> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Method Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#add_attr(java.lang.String)">add_attr</A></B>(java.lang.String expr)</CODE> <BR> Add an expression for an attribute.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>protected void</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#finalize()">finalize</A></B>()</CODE> <BR> Release resources.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#set_auxiliary(int)">set_auxiliary</A></B>(int min)</CODE> <BR> Set permission to adopt result of the auxiliary index.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#set_distinct(java.lang.String)">set_distinct</A></B>(java.lang.String name)</CODE> <BR> Set the attribute distinction filter.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#set_eclipse(double)">set_eclipse</A></B>(double limit)</CODE> <BR> Set the lower limit of similarity eclipse.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#set_mask(int)">set_mask</A></B>(int mask)</CODE> <BR> Set the mask of targets of meta search.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#set_max(int)">set_max</A></B>(int max)</CODE> <BR> Set the maximum number of retrieval.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#set_options(int)">set_options</A></B>(int options)</CODE> <BR> Set options of retrieval.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#set_order(java.lang.String)">set_order</A></B>(java.lang.String expr)</CODE> <BR> Set the order.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#set_phrase(java.lang.String)">set_phrase</A></B>(java.lang.String phrase)</CODE> <BR> Set the search phrase.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> void</CODE></FONT></TD> <TD><CODE><B><A HREF="../estraier/Condition.html#set_skip(int)">set_skip</A></B>(int skip)</CODE> <BR> Set the number of skipped documents.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class java.lang.Object</B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <A NAME="field_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Field Detail</B></FONT></TD> </TR> </TABLE> <A NAME="AGITO"><!-- --></A><H3> AGITO</H3> <PRE> public static final int <B>AGITO</B></PRE> <DL> <DD>option: check N-gram keys skipping by three <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.AGITO">Constant Field Values</A></DL> </DL> <HR> <A NAME="ECLDIR"><!-- --></A><H3> ECLDIR</H3> <PRE> public static final double <B>ECLDIR</B></PRE> <DL> <DD>eclipse tuning: on directory basis <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.ECLDIR">Constant Field Values</A></DL> </DL> <HR> <A NAME="ECLFILE"><!-- --></A><H3> ECLFILE</H3> <PRE> public static final double <B>ECLFILE</B></PRE> <DL> <DD>eclipse tuning: on file basis <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.ECLFILE">Constant Field Values</A></DL> </DL> <HR> <A NAME="ECLSERV"><!-- --></A><H3> ECLSERV</H3> <PRE> public static final double <B>ECLSERV</B></PRE> <DL> <DD>eclipse tuning: on server basis <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.ECLSERV">Constant Field Values</A></DL> </DL> <HR> <A NAME="ECLSIMURL"><!-- --></A><H3> ECLSIMURL</H3> <PRE> public static final double <B>ECLSIMURL</B></PRE> <DL> <DD>eclipse tuning: consider URL <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.ECLSIMURL">Constant Field Values</A></DL> </DL> <HR> <A NAME="FAST"><!-- --></A><H3> FAST</H3> <PRE> public static final int <B>FAST</B></PRE> <DL> <DD>option: check N-gram keys skipping by two <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.FAST">Constant Field Values</A></DL> </DL> <HR> <A NAME="ISECT"><!-- --></A><H3> ISECT</H3> <PRE> public static final int <B>ISECT</B></PRE> <DL> <DD>option: with the intersection phrase <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.ISECT">Constant Field Values</A></DL> </DL> <HR> <A NAME="NOIDF"><!-- --></A><H3> NOIDF</H3> <PRE> public static final int <B>NOIDF</B></PRE> <DL> <DD>option: without TF-IDF tuning <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.NOIDF">Constant Field Values</A></DL> </DL> <HR> <A NAME="ROUGH"><!-- --></A><H3> ROUGH</H3> <PRE> public static final int <B>ROUGH</B></PRE> <DL> <DD>option: with the rough phrase <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.ROUGH">Constant Field Values</A></DL> </DL> <HR> <A NAME="SIMPLE"><!-- --></A><H3> SIMPLE</H3> <PRE> public static final int <B>SIMPLE</B></PRE> <DL> <DD>option: with the simplified phrase <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.SIMPLE">Constant Field Values</A></DL> </DL> <HR> <A NAME="SURE"><!-- --></A><H3> SURE</H3> <PRE> public static final int <B>SURE</B></PRE> <DL> <DD>option: check every N-gram key <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.SURE">Constant Field Values</A></DL> </DL> <HR> <A NAME="UNION"><!-- --></A><H3> UNION</H3> <PRE> public static final int <B>UNION</B></PRE> <DL> <DD>option: with the union phrase <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.UNION">Constant Field Values</A></DL> </DL> <HR> <A NAME="USUAL"><!-- --></A><H3> USUAL</H3> <PRE> public static final int <B>USUAL</B></PRE> <DL> <DD>option: check N-gram keys skipping by one <P> <DL> <DT><B>See Also:</B><DD><A HREF="../constant-values.html#estraier.Condition.USUAL">Constant Field Values</A></DL> </DL> <!-- ========= CONSTRUCTOR DETAIL ======== --> <A NAME="constructor_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Constructor Detail</B></FONT></TD> </TR> </TABLE> <A NAME="Condition()"><!-- --></A><H3> Condition</H3> <PRE> public <B>Condition</B>()</PRE> <DL> <DD>Create a search condition object. <P> </DL> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Method Detail</B></FONT></TD> </TR> </TABLE> <A NAME="add_attr(java.lang.String)"><!-- --></A><H3> add_attr</H3> <PRE> public void <B>add_attr</B>(java.lang.String expr)</PRE> <DL> <DD>Add an expression for an attribute. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>expr</CODE> - an expression for an attribute.</DL> </DD> </DL> <HR> <A NAME="finalize()"><!-- --></A><H3> finalize</H3> <PRE> protected void <B>finalize</B>()</PRE> <DL> <DD>Release resources. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="set_auxiliary(int)"><!-- --></A><H3> set_auxiliary</H3> <PRE> public void <B>set_auxiliary</B>(int min)</PRE> <DL> <DD>Set permission to adopt result of the auxiliary index. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>min</CODE> - the minimum hits to adopt result of the auxiliary index. If it is not more than 0, the auxiliary index is not used. By default, it is 32.</DL> </DD> </DL> <HR> <A NAME="set_distinct(java.lang.String)"><!-- --></A><H3> set_distinct</H3> <PRE> public void <B>set_distinct</B>(java.lang.String name)</PRE> <DL> <DD>Set the attribute distinction filter. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of an attribute to be distinct.</DL> </DD> </DL> <HR> <A NAME="set_eclipse(double)"><!-- --></A><H3> set_eclipse</H3> <PRE> public void <B>set_eclipse</B>(double limit)</PRE> <DL> <DD>Set the lower limit of similarity eclipse. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>limit</CODE> - the lower limit of similarity for documents to be eclipsed. Similarity is between 0.0 and 1.0. If the limit is added by `Condition.ECLSIMURL', similarity is weighted by URL. If the limit is `Condition.ECLSERV', similarity is ignored and documents in the same server are eclipsed. If the limit is `Condition.ECLDIR', similarity is ignored and documents in the same directory are eclipsed. If the limit is `Condition.ECLFILE', similarity is ignored and documents of the same file are eclipsed.</DL> </DD> </DL> <HR> <A NAME="set_mask(int)"><!-- --></A><H3> set_mask</H3> <PRE> public void <B>set_mask</B>(int mask)</PRE> <DL> <DD>Set the mask of targets of meta search. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>mask</CODE> - a masking number. 1 means the first target, 2 means the second target, 4 means the third target and, power values of 2 and their summation compose the mask.</DL> </DD> </DL> <HR> <A NAME="set_max(int)"><!-- --></A><H3> set_max</H3> <PRE> public void <B>set_max</B>(int max)</PRE> <DL> <DD>Set the maximum number of retrieval. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>max</CODE> - the maximum number of retrieval. By default, the number of retrieval is not limited.</DL> </DD> </DL> <HR> <A NAME="set_options(int)"><!-- --></A><H3> set_options</H3> <PRE> public void <B>set_options</B>(int options)</PRE> <DL> <DD>Set options of retrieval. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>options</CODE> - options: `Condition.SURE' specifies that it checks every N-gram key, `Condition.USUAL', which is the default, specifies that it checks N-gram keys with skipping one key, `Condition.FAST' skips two keys, `Condition.AGITO' skips three keys, `Condition.NOIDF' specifies not to perform TF-IDF tuning, `Condition.SIMPLE' specifies to use simplified phrase, `Condition.ROUGH' specifies to use rough phrase, `Condition.UNION' specifies to use union phrase, `Condition.ISECT' specifies to use intersection phrase. Each option can be specified at the same time by bitwise or. If keys are skipped, though search speed is improved, the relevance ratio grows less.</DL> </DD> </DL> <HR> <A NAME="set_order(java.lang.String)"><!-- --></A><H3> set_order</H3> <PRE> public void <B>set_order</B>(java.lang.String expr)</PRE> <DL> <DD>Set the order. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>expr</CODE> - an expression for the order. By default, the order is by score descending.</DL> </DD> </DL> <HR> <A NAME="set_phrase(java.lang.String)"><!-- --></A><H3> set_phrase</H3> <PRE> public void <B>set_phrase</B>(java.lang.String phrase)</PRE> <DL> <DD>Set the search phrase. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>phrase</CODE> - a search phrase.</DL> </DD> </DL> <HR> <A NAME="set_skip(int)"><!-- --></A><H3> set_skip</H3> <PRE> public void <B>set_skip</B>(int skip)</PRE> <DL> <DD>Set the number of skipped documents. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>skip</CODE> - the number of documents to be skipped in the search result.</DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../estraier/Cmd.html" title="class in estraier"><B>PREV CLASS</B></A> <A HREF="../estraier/Database.html" title="class in estraier"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html" target="_top"><B>FRAMES</B></A> <A HREF="Condition.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>