亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? indexwriter.html

??  Lucene是apache軟件基金會[4] jakarta項目組的一個子項目
?? HTML
?? 第 1 頁 / 共 5 頁
字號:
<HR>

<A NAME="IndexWriter(org.apache.lucene.store.Directory, org.apache.lucene.analysis.Analyzer, boolean)"><!-- --></A><H3>
IndexWriter</H3>
<PRE>
public <B>IndexWriter</B>(<A HREF="../../../../org/apache/lucene/store/Directory.html" title="class in org.apache.lucene.store">Directory</A>&nbsp;d,                   <A HREF="../../../../org/apache/lucene/analysis/Analyzer.html" title="class in org.apache.lucene.analysis">Analyzer</A>&nbsp;a,                   boolean&nbsp;create)            throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Constructs an IndexWriter for the index in <code>d</code>. Text will be analyzed with <code>a</code>.  If <code>create</code> is true, then a new, empty index will be created in <code>d</code>, replacing the index already there, if any.
<P>
<DT><B>Parameters:</B><DD><CODE>d</CODE> - the index directory<DD><CODE>a</CODE> - the analyzer to use<DD><CODE>create</CODE> - <code>true</code> to create the index or overwrite  the existing one; <code>false</code> to append to the existing  index<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if the directory cannot be read/written to, or  if it does not exist, and <code>create</code> is  <code>false</code></DL>
<HR>

<A NAME="IndexWriter(java.lang.String, org.apache.lucene.analysis.Analyzer)"><!-- --></A><H3>
IndexWriter</H3>
<PRE>
public <B>IndexWriter</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A>&nbsp;path,                   <A HREF="../../../../org/apache/lucene/analysis/Analyzer.html" title="class in org.apache.lucene.analysis">Analyzer</A>&nbsp;a)            throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Constructs an IndexWriter for the index in <code>path</code>, creating it first if it does not already exist, otherwise appending to the existing index.  Text will be analyzed with <code>a</code>.
<P>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - the path to the index directory<DD><CODE>a</CODE> - the analyzer to use<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if the directory cannot be  created or read/written to</DL>
<HR>

<A NAME="IndexWriter(java.io.File, org.apache.lucene.analysis.Analyzer)"><!-- --></A><H3>
IndexWriter</H3>
<PRE>
public <B>IndexWriter</B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/File.html" title="class or interface in java.io">File</A>&nbsp;path,                   <A HREF="../../../../org/apache/lucene/analysis/Analyzer.html" title="class in org.apache.lucene.analysis">Analyzer</A>&nbsp;a)            throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Constructs an IndexWriter for the index in <code>path</code>, creating it first if it does not already exist, otherwise appending to the existing index.  Text will be analyzed with <code>a</code>.
<P>
<DT><B>Parameters:</B><DD><CODE>path</CODE> - the path to the index directory<DD><CODE>a</CODE> - the analyzer to use<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if the directory cannot be  created or read/written to</DL>
<HR>

<A NAME="IndexWriter(org.apache.lucene.store.Directory, org.apache.lucene.analysis.Analyzer)"><!-- --></A><H3>
IndexWriter</H3>
<PRE>
public <B>IndexWriter</B>(<A HREF="../../../../org/apache/lucene/store/Directory.html" title="class in org.apache.lucene.store">Directory</A>&nbsp;d,                   <A HREF="../../../../org/apache/lucene/analysis/Analyzer.html" title="class in org.apache.lucene.analysis">Analyzer</A>&nbsp;a)            throws <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD>Constructs an IndexWriter for the index in <code>d</code>, creating it first if it does not already exist, otherwise appending to the existing index.  Text will be analyzed with <code>a</code>.
<P>
<DT><B>Parameters:</B><DD><CODE>d</CODE> - the index directory<DD><CODE>a</CODE> - the analyzer to use<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.4/docs/api/java/io/IOException.html" title="class or interface in java.io">IOException</A></CODE> - if the directory cannot be  created or read/written to</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="getUseCompoundFile()"><!-- --></A><H3>
getUseCompoundFile</H3>
<PRE>
public boolean <B>getUseCompoundFile</B>()</PRE>
<DL>
<DD>Get the current setting of whether to use the compound file format.  Note that this just returns the value you set with setUseCompoundFile(boolean)  or the default. You cannot use this to query the status of an existing index.
<P>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/lucene/index/IndexWriter.html#setUseCompoundFile(boolean)"><CODE>setUseCompoundFile(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setUseCompoundFile(boolean)"><!-- --></A><H3>
setUseCompoundFile</H3>
<PRE>
public void <B>setUseCompoundFile</B>(boolean&nbsp;value)</PRE>
<DL>
<DD>Setting to turn on usage of a compound file. When on, multiple files  for each segment are merged into a single file once the segment creation  is finished. This is done regardless of what directory is in use.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setSimilarity(org.apache.lucene.search.Similarity)"><!-- --></A><H3>
setSimilarity</H3>
<PRE>
public void <B>setSimilarity</B>(<A HREF="../../../../org/apache/lucene/search/Similarity.html" title="class in org.apache.lucene.search">Similarity</A>&nbsp;similarity)</PRE>
<DL>
<DD>Expert: Set the Similarity implementation used by this IndexWriter.
<P>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/lucene/search/Similarity.html#setDefault(org.apache.lucene.search.Similarity)"><CODE>Similarity.setDefault(Similarity)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getSimilarity()"><!-- --></A><H3>
getSimilarity</H3>
<PRE>
public <A HREF="../../../../org/apache/lucene/search/Similarity.html" title="class in org.apache.lucene.search">Similarity</A> <B>getSimilarity</B>()</PRE>
<DL>
<DD>Expert: Return the Similarity implementation used by this IndexWriter. <p>This defaults to the current value of <A HREF="../../../../org/apache/lucene/search/Similarity.html#getDefault()"><CODE>Similarity.getDefault()</CODE></A>.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="setTermIndexInterval(int)"><!-- --></A><H3>
setTermIndexInterval</H3>
<PRE>
public void <B>setTermIndexInterval</B>(int&nbsp;interval)</PRE>
<DL>
<DD>Expert: Set the interval between indexed terms.  Large values cause less memory to be used by IndexReader, but slow random-access to terms.  Small values cause more memory to be used by an IndexReader, and speed random-access to terms. This parameter determines the amount of computation required per query term, regardless of the number of documents that contain that term.  In particular, it is the maximum number of other terms that must be scanned before a term is located and its frequency and position information may be processed.  In a large index with user-entered query terms, query processing time is likely to be dominated not by term lookup but rather by the processing of frequency and positional data.  In a small index or when many uncommon query terms are generated (e.g., by wildcard queries) term lookup may become a dominant cost. In particular, <code>numUniqueTerms/interval</code> terms are read into memory by an IndexReader, and, on average, <code>interval/2</code> terms must be scanned for each random term access.
<P>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/lucene/index/IndexWriter.html#DEFAULT_TERM_INDEX_INTERVAL"><CODE>DEFAULT_TERM_INDEX_INTERVAL</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getTermIndexInterval()"><!-- --></A><H3>
getTermIndexInterval</H3>
<PRE>
public int <B>getTermIndexInterval</B>()</PRE>
<DL>
<DD>Expert: Return the interval between indexed terms.
<P>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/lucene/index/IndexWriter.html#setTermIndexInterval(int)"><CODE>setTermIndexInterval(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setMaxMergeDocs(int)"><!-- --></A><H3>
setMaxMergeDocs</H3>
<PRE>
public void <B>setMaxMergeDocs</B>(int&nbsp;maxMergeDocs)</PRE>
<DL>
<DD>Determines the largest number of documents ever merged by addDocument(). Small values (e.g., less than 10,000) are best for interactive indexing, as this limits the length of pauses while indexing to a few seconds. Larger values are best for batched indexing and speedier searches. <p>The default value is <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Integer.html#MAX_VALUE" title="class or interface in java.lang"><CODE>Integer.MAX_VALUE</CODE></A>.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getMaxMergeDocs()"><!-- --></A><H3>
getMaxMergeDocs</H3>
<PRE>
public int <B>getMaxMergeDocs</B>()</PRE>
<DL>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/lucene/index/IndexWriter.html#setMaxMergeDocs(int)"><CODE>setMaxMergeDocs(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setMaxFieldLength(int)"><!-- --></A><H3>
setMaxFieldLength</H3>
<PRE>
public void <B>setMaxFieldLength</B>(int&nbsp;maxFieldLength)</PRE>
<DL>
<DD>The maximum number of terms that will be indexed for a single field in a document.  This limits the amount of memory required for indexing, so that collections with very large files will not crash the indexing process by running out of memory.<p/> Note that this effectively truncates large documents, excluding from the index terms that occur further in the document.  If you know your source documents are large, be sure to set this value high enough to accomodate the expected size.  If you set it to Integer.MAX_VALUE, then the only limit is your memory, but you should anticipate an OutOfMemoryError.<p/> By default, no more than 10,000 terms will be indexed for a field.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getMaxFieldLength()"><!-- --></A><H3>
getMaxFieldLength</H3>
<PRE>
public int <B>getMaxFieldLength</B>()</PRE>
<DL>
<DD><DL>
<DT><B>See Also:</B><DD><A HREF="../../../../org/apache/lucene/index/IndexWriter.html#setMaxFieldLength(int)"><CODE>setMaxFieldLength(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setMaxBufferedDocs(int)"><!-- --></A><H3>
setMaxBufferedDocs</H3>
<PRE>
public void <B>setMaxBufferedDocs</B>(int&nbsp;maxBufferedDocs)</PRE>
<DL>
<DD>Determines the minimal number of documents required before the buffered in-memory documents are merged and a new Segment is created. Since Documents are merged in a <A HREF="../../../../org/apache/lucene/store/RAMDirectory.html" title="class in org.apache.lucene.store"><CODE>RAMDirectory</CODE></A>, large value gives faster indexing.  At the same time, mergeFactor limits the number of files open in a FSDirectory. <p> The default value is 10.
<P>
<DD><DL>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人短视频下载| 成人av在线网| 国产精品国产三级国产aⅴ中文| 精品一区二区免费视频| 欧美国产精品v| 欧美老肥妇做.爰bbww视频| 开心九九激情九九欧美日韩精美视频电影| 91超碰这里只有精品国产| 蜜臀av一区二区在线观看| 国产精品色一区二区三区| 欧美亚洲一区二区三区四区| 久久se精品一区精品二区| 亚洲国产精品v| 日韩一级二级三级精品视频| 成人午夜激情视频| 免费成人你懂的| 一区二区成人在线| 久久九九久久九九| 精品国免费一区二区三区| 色国产精品一区在线观看| 午夜电影久久久| 久久久久久黄色| 日韩欧美成人午夜| 91高清在线观看| 日本高清不卡在线观看| 国产一区二区主播在线| 久久99国产乱子伦精品免费| 五月婷婷另类国产| 天天色 色综合| 美女视频一区二区| 激情久久久久久久久久久久久久久久| 亚洲综合久久久| 无码av中文一区二区三区桃花岛| 一区二区三区免费| 日本人妖一区二区| 蜜臂av日日欢夜夜爽一区| 国内精品第一页| a4yy欧美一区二区三区| 91浏览器入口在线观看| 欧美在线免费视屏| 欧美一区二区三区在线电影 | 国产成人精品午夜视频免费| 精品影院一区二区久久久| 国产精品一区二区x88av| 国产成人午夜视频| 欧美怡红院视频| 久久一夜天堂av一区二区三区| 国产精品天美传媒| 青椒成人免费视频| 91黄色小视频| 国产欧美一区二区三区网站| 亚洲国产精品久久一线不卡| 国产精品影视在线观看| 欧美日本在线视频| 亚洲精品高清在线| 国产精品一区二区在线看| 欧美久久免费观看| 自拍偷自拍亚洲精品播放| 国产黄人亚洲片| 精品国内片67194| 日韩主播视频在线| 欧美特级限制片免费在线观看| 中文字幕精品三区| 国产精品一区专区| 欧美不卡一区二区三区| 五月天丁香久久| 欧美日韩亚洲另类| 亚洲小少妇裸体bbw| 色天天综合久久久久综合片| 国产精品久久一级| 99re这里只有精品视频首页| 国产欧美va欧美不卡在线| 国产精品一卡二卡在线观看| 2023国产一二三区日本精品2022| 免费成人美女在线观看.| 日韩三级免费观看| 国产成人高清在线| 国产精品美女久久久久久久| 91碰在线视频| 日韩在线a电影| 欧美在线|欧美| 日韩电影免费在线观看网站| 欧美一区二区三区日韩| 国产乱码精品一品二品| 久久久久99精品一区| 在线视频你懂得一区二区三区| 亚洲在线视频网站| 国产日产欧美一区二区视频| 91麻豆国产精品久久| 久草精品在线观看| 亚洲黄色尤物视频| 久久久三级国产网站| 色婷婷综合五月| 国产激情一区二区三区四区| 夜夜嗨av一区二区三区四季av | 黑人精品欧美一区二区蜜桃| 中文字幕在线一区免费| 欧美va亚洲va在线观看蝴蝶网| 99久久精品国产网站| 国产精品自拍一区| 三级欧美在线一区| 一区二区三区在线免费视频| 日本一区二区动态图| 久久亚区不卡日本| 欧美喷潮久久久xxxxx| 日本道免费精品一区二区三区| 国产精品一区二区在线看| 久久电影网电视剧免费观看| 午夜久久久久久电影| 亚洲图片一区二区| 丝袜国产日韩另类美女| 一区二区激情视频| 亚洲影院理伦片| 亚洲成人免费在线观看| 日本欧美一区二区三区乱码| 视频一区国产视频| 激情综合色播五月| 美女一区二区视频| 毛片av一区二区| 激情久久五月天| 99久久婷婷国产精品综合| 91福利在线免费观看| 欧美性色综合网| 精品乱人伦一区二区三区| 日韩写真欧美这视频| 久久这里只有精品视频网| 欧美国产精品中文字幕| 亚洲免费观看视频| 九九精品视频在线看| 国产99久久精品| 欧美日韩中文国产| 国产欧美日韩视频一区二区| 综合久久久久久久| 麻豆精品久久精品色综合| 精品中文字幕一区二区小辣椒| 丁香婷婷综合网| 色88888久久久久久影院野外| 精品国产免费人成电影在线观看四季| 久久久久久9999| 日本欧美一区二区在线观看| 99久久er热在这里只有精品66| 精品视频在线看| 亚洲日本电影在线| 国产精品一区二区不卡| 91精品国产综合久久久蜜臀粉嫩| 亚洲欧美综合在线精品| 蜜桃av一区二区| 欧美人牲a欧美精品| 亚洲午夜精品一区二区三区他趣| 粉嫩蜜臀av国产精品网站| 日韩精品一区二区三区老鸭窝| 亚洲另类春色校园小说| 国产精品一区2区| 欧美成人一区二区三区片免费 | 精品成人在线观看| 蜜臀久久99精品久久久画质超高清| 精品视频在线看| 日韩精品一区第一页| 91精品国产色综合久久不卡蜜臀 | 国产精品美女久久久久久久网站| 国产激情精品久久久第一区二区| 精品乱人伦小说| 岛国av在线一区| 午夜视频在线观看一区二区三区 | 精品少妇一区二区三区视频免付费 | 精品美女一区二区| 精品一区二区免费在线观看| 国产欧美一区二区在线| 成人三级伦理片| 性久久久久久久久| 久久综合资源网| 色综合天天性综合| 九九视频精品免费| 亚洲人午夜精品天堂一二香蕉| 日韩欧美在线一区二区三区| 不卡的av在线播放| 蜜桃一区二区三区在线观看| 国产精品久久久久久户外露出| 欧美日本视频在线| 99久久国产综合精品女不卡| 久久国产精品99精品国产| 亚洲色图制服丝袜| 国产片一区二区三区| 欧美一区午夜视频在线观看| av电影天堂一区二区在线| 激情欧美一区二区三区在线观看| 亚洲一区二区美女| 亚洲色图一区二区三区| 国产精品麻豆一区二区| 2023国产一二三区日本精品2022| 一本久道久久综合中文字幕| 成人精品国产一区二区4080| 蜜臀91精品一区二区三区 | 久久精品国产澳门| 午夜伦欧美伦电影理论片| 亚洲成人av中文| 日韩精品午夜视频| 免费在线观看日韩欧美| 日日欢夜夜爽一区| 爽爽淫人综合网网站|