Interface UpdatableIndex

    • Method Detail

      • indexDocument

        void indexDocument​(Document doc)
                    throws java.lang.Exception
        Add a new document to the index.
        Throws:
        java.lang.Exception
      • indexDocument

        void indexDocument​(java.util.Map<java.lang.String,​java.lang.String> docProperties,
                           DocumentPostingList docContents)
                    throws java.lang.Exception
        Add a new pre-parsed document to the index.
        Throws:
        java.lang.Exception
      • removeDocument

        boolean removeDocument​(int docid)
        Removes a document from the index. Returns true if successful. No known operable implementations at this time.
      • addToDocument

        boolean addToDocument​(int docid,
                              Document doc)
                       throws java.lang.Exception
        Adds specified content contents to the named document id.
        Returns:
        true if supported & successful.
        Throws:
        java.lang.Exception
      • addToDocument

        boolean addToDocument​(int docid,
                              DocumentPostingList docContents)
                       throws java.lang.Exception
        Adds relevant terms to the named document id.
        Returns:
        true if supported & successful.
        Throws:
        java.lang.Exception