パッケージ nlp4j.indexer

インタフェース DocumentIndexer

  • 既知の実装クラスのリスト:
    AbstractDocumentIndexer, SimpleDocumentIndex

    public interface DocumentIndexer
    ドキュメントのインデックスです。
    Index of Documents.
    バージョン:
    1.2.1.0
    作成者:
    Hiroki Oya
    • メソッドの詳細

      • addDocument

        void addDocument​(Document doc)
        インデックスにドキュメントを追加します。
        Add an document to Index.
        パラメータ:
        doc - ドキュメント
        導入されたバージョン:
        1.0
      • addDocuments

        void addDocuments​(List<Document> docs)
        インデックスに複数のドキュメントを追加します。
        Add documents to Index.
        パラメータ:
        docs - 複数のドキュメント
        導入されたバージョン:
        1.0
      • getKeywords

        List<Keyword> getKeywords()
        インデックスのキーワードを返します。
        Return keywords of index.
        戻り値:
        キーワード
        導入されたバージョン:
        1.0
      • getKeywords

        List<Keyword> getKeywords​(String facet)
        ファセットを指定してインデックスのキーワードを返します。
        Return facet keywords of index.
        パラメータ:
        facet - ファセット
        戻り値:
        キーワード
        導入されたバージョン:
        1.0
      • getKeywords

        List<Keyword> getKeywords​(String facet,
                                  String condition)
        ファセットと条件を指定してインデックスのキーワードを返します。
        Return facet keywords with a condition query.
        パラメータ:
        facet - ファセットID
        condition - 条件
        戻り値:
        キーワード
        導入されたバージョン:
        1.0
      • setProperty

        void setProperty​(String key,
                         String value)
        プロパティをセットします
        Set Property
        パラメータ:
        key - Param Key
        value - Param Value
        導入されたバージョン:
        1.2.1.0
      • setProperties

        void setProperties​(Properties prop)
        プロパティをセットします
        Set Properties
        パラメータ:
        prop - Properties
        導入されたバージョン:
        1.2.1.0
      • close

        void close()
        導入されたバージョン:
        1.2.1.0