パッケージ nlp4j.indexer

クラス AbstractDocumentIndexer

  • すべての実装されたインタフェース:
    DocumentIndexer
    直系の既知のサブクラス:
    SimpleDocumentIndex

    public abstract class AbstractDocumentIndexer
    extends Object
    implements DocumentIndexer
    AbstractIndexer
    導入されたバージョン:
    1.2.1.0
    作成者:
    Hiroki Oya
    • コンストラクタの詳細

      • AbstractDocumentIndexer

        public AbstractDocumentIndexer()
    • メソッドの詳細

      • 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 - ファセットID
        condition - 条件
        戻り値:
        キーワード
      • 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 Key
        value - Param Value