パッケージ nlp4j.indexer
クラス AbstractDocumentIndexer
- java.lang.Object
-
- nlp4j.indexer.AbstractDocumentIndexer
-
- すべての実装されたインタフェース:
DocumentIndexer
- 直系の既知のサブクラス:
SimpleDocumentIndex
public abstract class AbstractDocumentIndexer extends Object implements DocumentIndexer
AbstractIndexer- 導入されたバージョン:
- 1.2.1.0
- 作成者:
- Hiroki Oya
-
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 AbstractDocumentIndexer()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 void
addDocuments(List<Document> docs)
インデックスに複数のドキュメントを追加します。void
close()
void
commit()
List<Keyword>
getKeywords()
インデックスのキーワードを返します。List<Keyword>
getKeywords(String facet)
ファセットを指定してインデックスのキーワードを返します。List<Keyword>
getKeywords(String facet, String condition)
ファセットと条件を指定してインデックスのキーワードを返します。void
setProperties(Properties prop)
プロパティをセットします
Set Propertiesvoid
setProperty(String key, String value)
プロパティをセットします
Set Property-
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
インタフェースから継承されたメソッド nlp4j.indexer.DocumentIndexer
addDocument
-
-
-
-
メソッドの詳細
-
addDocuments
public void addDocuments(List<Document> docs)
インタフェースからコピーされた説明:DocumentIndexer
インデックスに複数のドキュメントを追加します。
Add documents to Index.- 定義:
addDocuments
インタフェース内DocumentIndexer
- パラメータ:
docs
- 複数のドキュメント
-
getKeywords
public List<Keyword> getKeywords()
インタフェースからコピーされた説明:DocumentIndexer
インデックスのキーワードを返します。
Return keywords of index.- 定義:
getKeywords
インタフェース内DocumentIndexer
- 戻り値:
- キーワード
-
getKeywords
public List<Keyword> getKeywords(String facet)
インタフェースからコピーされた説明:DocumentIndexer
ファセットを指定してインデックスのキーワードを返します。
Return facet keywords of index.- 定義:
getKeywords
インタフェース内DocumentIndexer
- パラメータ:
facet
- ファセット- 戻り値:
- キーワード
-
getKeywords
public List<Keyword> getKeywords(String facet, String condition)
インタフェースからコピーされた説明:DocumentIndexer
ファセットと条件を指定してインデックスのキーワードを返します。
Return facet keywords with a condition query.- 定義:
getKeywords
インタフェース内DocumentIndexer
- パラメータ:
facet
- ファセットIDcondition
- 条件- 戻り値:
- キーワード
-
setProperties
public void setProperties(Properties prop)
インタフェースからコピーされた説明:DocumentIndexer
プロパティをセットします
Set Properties- 定義:
setProperties
インタフェース内DocumentIndexer
- パラメータ:
prop
- Properties
-
setProperty
public void setProperty(String key, String value)
インタフェースからコピーされた説明:DocumentIndexer
プロパティをセットします
Set Property- 定義:
setProperty
インタフェース内DocumentIndexer
- パラメータ:
key
- Param Keyvalue
- Param Value
-
commit
public void commit() throws IOException
- 定義:
commit
インタフェース内DocumentIndexer
- 例外:
IOException
-
close
public void close()
- 定義:
close
インタフェース内DocumentIndexer
-
-