fieldselectorresult.html

来自「 Lucene是apache软件基金会[4] jakarta项目组的一个子项目」· HTML 代码 · 共 421 行 · 第 1/2 页

HTML
421
字号

<!-- ============ 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="LOAD"><!-- --></A><H3>
LOAD</H3>
<PRE>
public static final <A HREF="../../../../org/apache/lucene/document/FieldSelectorResult.html" title="class in org.apache.lucene.document">FieldSelectorResult</A> <B>LOAD</B></PRE>
<DL>
<DD>Load this <A HREF="../../../../org/apache/lucene/document/Field.html" title="class in org.apache.lucene.document"><CODE>Field</CODE></A> every time the <A HREF="../../../../org/apache/lucene/document/Document.html" title="class in org.apache.lucene.document"><CODE>Document</CODE></A> is loaded, reading in the data as it is encounterd.  <A HREF="../../../../org/apache/lucene/document/Document.html#getField(java.lang.String)"><CODE>Document.getField(String)</CODE></A> and <A HREF="../../../../org/apache/lucene/document/Document.html#getFieldable(java.lang.String)"><CODE>Document.getFieldable(String)</CODE></A> should not return null.<p/> <A HREF="../../../../org/apache/lucene/document/Document.html#add(org.apache.lucene.document.Fieldable)"><CODE>Document.add(Fieldable)</CODE></A> should be called by the Reader.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="LAZY_LOAD"><!-- --></A><H3>
LAZY_LOAD</H3>
<PRE>
public static final <A HREF="../../../../org/apache/lucene/document/FieldSelectorResult.html" title="class in org.apache.lucene.document">FieldSelectorResult</A> <B>LAZY_LOAD</B></PRE>
<DL>
<DD>Lazily load this <A HREF="../../../../org/apache/lucene/document/Field.html" title="class in org.apache.lucene.document"><CODE>Field</CODE></A>.  This means the <A HREF="../../../../org/apache/lucene/document/Field.html" title="class in org.apache.lucene.document"><CODE>Field</CODE></A> is valid, but it may not actually contain its data until invoked.  <A HREF="../../../../org/apache/lucene/document/Document.html#getField(java.lang.String)"><CODE>Document.getField(String)</CODE></A> SHOULD NOT BE USED.  <A HREF="../../../../org/apache/lucene/document/Document.html#getFieldable(java.lang.String)"><CODE>Document.getFieldable(String)</CODE></A> is safe to use and should return a valid instance of a <A HREF="../../../../org/apache/lucene/document/Fieldable.html" title="interface in org.apache.lucene.document"><CODE>Fieldable</CODE></A>.<p/> <A HREF="../../../../org/apache/lucene/document/Document.html#add(org.apache.lucene.document.Fieldable)"><CODE>Document.add(Fieldable)</CODE></A> should be called by the Reader.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="NO_LOAD"><!-- --></A><H3>
NO_LOAD</H3>
<PRE>
public static final <A HREF="../../../../org/apache/lucene/document/FieldSelectorResult.html" title="class in org.apache.lucene.document">FieldSelectorResult</A> <B>NO_LOAD</B></PRE>
<DL>
<DD>Do not load the <A HREF="../../../../org/apache/lucene/document/Field.html" title="class in org.apache.lucene.document"><CODE>Field</CODE></A>.  <A HREF="../../../../org/apache/lucene/document/Document.html#getField(java.lang.String)"><CODE>Document.getField(String)</CODE></A> and <A HREF="../../../../org/apache/lucene/document/Document.html#getFieldable(java.lang.String)"><CODE>Document.getFieldable(String)</CODE></A> should return null. <A HREF="../../../../org/apache/lucene/document/Document.html#add(org.apache.lucene.document.Fieldable)"><CODE>Document.add(Fieldable)</CODE></A> is not called. <p/> <A HREF="../../../../org/apache/lucene/document/Document.html#add(org.apache.lucene.document.Fieldable)"><CODE>Document.add(Fieldable)</CODE></A> should not be called by the Reader.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="LOAD_AND_BREAK"><!-- --></A><H3>
LOAD_AND_BREAK</H3>
<PRE>
public static final <A HREF="../../../../org/apache/lucene/document/FieldSelectorResult.html" title="class in org.apache.lucene.document">FieldSelectorResult</A> <B>LOAD_AND_BREAK</B></PRE>
<DL>
<DD>Load this field as in the <A HREF="../../../../org/apache/lucene/document/FieldSelectorResult.html#LOAD"><CODE>LOAD</CODE></A> case, but immediately return from <A HREF="../../../../org/apache/lucene/document/Field.html" title="class in org.apache.lucene.document"><CODE>Field</CODE></A> loading for the <A HREF="../../../../org/apache/lucene/document/Document.html" title="class in org.apache.lucene.document"><CODE>Document</CODE></A>.  Thus, the Document may not have its complete set of Fields.  <A HREF="../../../../org/apache/lucene/document/Document.html#getField(java.lang.String)"><CODE>Document.getField(String)</CODE></A> and <A HREF="../../../../org/apache/lucene/document/Document.html#getFieldable(java.lang.String)"><CODE>Document.getFieldable(String)</CODE></A> should both be valid for this <A HREF="../../../../org/apache/lucene/document/Field.html" title="class in org.apache.lucene.document"><CODE>Field</CODE></A> <p/> <A HREF="../../../../org/apache/lucene/document/Document.html#add(org.apache.lucene.document.Fieldable)"><CODE>Document.add(Fieldable)</CODE></A> should be called by the Reader.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="LOAD_FOR_MERGE"><!-- --></A><H3>
LOAD_FOR_MERGE</H3>
<PRE>
public static final <A HREF="../../../../org/apache/lucene/document/FieldSelectorResult.html" title="class in org.apache.lucene.document">FieldSelectorResult</A> <B>LOAD_FOR_MERGE</B></PRE>
<DL>
<DD>Behaves much like <A HREF="../../../../org/apache/lucene/document/FieldSelectorResult.html#LOAD"><CODE>LOAD</CODE></A> but does not uncompress any compressed data.  This is used for internal purposes. <A HREF="../../../../org/apache/lucene/document/Document.html#getField(java.lang.String)"><CODE>Document.getField(String)</CODE></A> and <A HREF="../../../../org/apache/lucene/document/Document.html#getFieldable(java.lang.String)"><CODE>Document.getFieldable(String)</CODE></A> should not return null. <p/> <A HREF="../../../../org/apache/lucene/document/Document.html#add(org.apache.lucene.document.Fieldable)"><CODE>Document.add(Fieldable)</CODE></A> should be called by the Reader.
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="SIZE"><!-- --></A><H3>
SIZE</H3>
<PRE>
public static final <A HREF="../../../../org/apache/lucene/document/FieldSelectorResult.html" title="class in org.apache.lucene.document">FieldSelectorResult</A> <B>SIZE</B></PRE>
<DL>
<DD>Expert:  Load the size of this <A HREF="../../../../org/apache/lucene/document/Field.html" title="class in org.apache.lucene.document"><CODE>Field</CODE></A> rather than its value. Size is measured as number of bytes required to store the field == bytes for a binary or any compressed value, and 2*chars for a String value. The size is stored as a binary value, represented as an int in a byte[], with the higher order byte first in [0]
<P>
<DL>
</DL>
</DL>
<HR>

<A NAME="SIZE_AND_BREAK"><!-- --></A><H3>
SIZE_AND_BREAK</H3>
<PRE>
public static final <A HREF="../../../../org/apache/lucene/document/FieldSelectorResult.html" title="class in org.apache.lucene.document">FieldSelectorResult</A> <B>SIZE_AND_BREAK</B></PRE>
<DL>
<DD>Expert: Like <A HREF="../../../../org/apache/lucene/document/FieldSelectorResult.html#SIZE"><CODE>SIZE</CODE></A> but immediately break from the field loading loop, i.e. stop loading further fields, after the size is loaded
<P>
<DL>
</DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->


<!-- ============ 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="equals(java.lang.Object)"><!-- --></A><H3>
equals</H3>
<PRE>
public boolean <B>equals</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A>&nbsp;o)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="hashCode()"><!-- --></A><H3>
hashCode</H3>
<PRE>
public int <B>hashCode</B>()</PRE>
<DL>
<DD><DL>
</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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/FieldSelectorResult.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../org/apache/lucene/document/Field.TermVector.html" title="class in org.apache.lucene.document"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../org/apache/lucene/document/LoadFirstFieldSelector.html" title="class in org.apache.lucene.document"><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>  &nbsp;
&nbsp;<A HREF="FieldSelectorResult.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= -->

<HR>
Copyright &copy; 2000-2007 Apache Software Foundation.  All Rights Reserved.
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?