?? deprecated-list.html
字號:
<!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_04) on Wed Feb 14 11:49:15 EST 2007 -->
<TITLE>
Deprecated List (Lucene 2.1.0 API)
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="Deprecated List (Lucene 2.1.0 API)";
}
</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"> <FONT CLASS="NavBarFont1">Package</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Deprecated</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</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">
PREV
NEXT</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="index.html" target="_top"><B>FRAMES</B></A>
<A HREF="deprecated-list.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>
</TABLE>
<A NAME="skip-navbar_top"></A><!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<CENTER>
<H2>
<B>Deprecated API</B></H2>
</CENTER>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Deprecated Classes</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="org/apache/lucene/document/DateField.html" title="class in org.apache.lucene.document">org.apache.lucene.document.DateField</A>
<BR>
<I>If you build a new index, use <A HREF="org/apache/lucene/document/DateTools.html" title="class in org.apache.lucene.document"><CODE>DateTools</CODE></A> instead. This class is included for use with existing indices and will be removed in a future release.</I> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="org/apache/lucene/analysis/nl/WordlistLoader.html" title="class in org.apache.lucene.analysis.nl">org.apache.lucene.analysis.nl.WordlistLoader</A>
<BR>
<I>use <A HREF="org/apache/lucene/analysis/WordlistLoader.html" title="class in org.apache.lucene.analysis"><CODE>WordlistLoader</CODE></A> instead</I> </TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Deprecated Fields</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="org/apache/lucene/store/FSDirectory.html#LOCK_DIR">org.apache.lucene.store.FSDirectory.LOCK_DIR</A>
<BR>
<I>As of 2.1, <code>LOCK_DIR</code> is unused because the write.lock is now stored by default in the index directory. If you really want to store locks elsewhere you can create your own <A HREF="org/apache/lucene/store/SimpleFSLockFactory.html" title="class in org.apache.lucene.store"><CODE>SimpleFSLockFactory</CODE></A> (or <A HREF="org/apache/lucene/store/NativeFSLockFactory.html" title="class in org.apache.lucene.store"><CODE>NativeFSLockFactory</CODE></A>, etc.) passing in your preferred lock directory. Then, pass this <code>LockFactory</code> instance to one of the <code>getDirectory</code> methods that take a <code>lockFactory</code> (for example, <A HREF="org/apache/lucene/store/FSDirectory.html#getDirectory(java.lang.String, org.apache.lucene.store.LockFactory)"><CODE>FSDirectory.getDirectory(String, LockFactory)</CODE></A>).</I> </TD>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Deprecated Methods</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="org/apache/lucene/document/Document.html#fields()">org.apache.lucene.document.Document.fields()</A>
<BR>
<I>use <A HREF="org/apache/lucene/document/Document.html#getFields()"><CODE>Document.getFields()</CODE></A> instead</I> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="org/apache/lucene/search/highlight/Highlighter.html#getBestFragments(org.apache.lucene.analysis.Analyzer, java.lang.String, int)">org.apache.lucene.search.highlight.Highlighter.getBestFragments(Analyzer, String, int)</A>
<BR>
<I>This method incorrectly hardcodes the choice of fieldname. Use the method of the same name that takes a fieldname.</I> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="org/apache/lucene/analysis/standard/CharStream.html#getColumn()">org.apache.lucene.analysis.standard.CharStream.getColumn()</A>
<BR>
<I></I> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="org/apache/lucene/queryParser/CharStream.html#getColumn()">org.apache.lucene.queryParser.CharStream.getColumn()</A>
<BR>
<I></I> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="org/apache/lucene/demo/html/SimpleCharStream.html#getColumn()">org.apache.lucene.demo.html.SimpleCharStream.getColumn()</A>
<BR>
<I></I> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="org/apache/lucene/store/FSDirectory.html#getDirectory(java.io.File, boolean)">org.apache.lucene.store.FSDirectory.getDirectory(File, boolean)</A>
<BR>
<I>Use IndexWriter's create flag, instead, to create a new index.</I> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><A HREF="org/apache/lucene/store/FSDirectory.html#getDirectory(java.lang.String, boolean)">org.apache.lucene.store.FSDirectory.getDirectory(String, boolean)</A>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -