Interface SearchClient

    • Field Detail

      • DEFAULT_SEARCH_WORKFLOW

        static final java.lang.String DEFAULT_SEARCH_WORKFLOW
        Default workflow used for new clients.
        See Also:
        Constant Field Values
    • Method Detail

      • getDocumentById

        SearchDocument getDocumentById​(java.lang.String documentId)
                                throws AttivioException
        Gets a document by a specific document Id
        Parameters:
        documentId - ID of the document that will be returned
        Returns:
        document that was requested or null if does not exist.
        Throws:
        AttivioException
      • search

        QueryResponse search​(java.lang.String query)
                      throws AttivioException
        Searches using a query string only. The query is assumed to be in the simple Attivio query language.
        Parameters:
        query - the query to use
        Returns:
        the query response
        Throws:
        AttivioException
      • setClientWorkflow

        void setClientWorkflow​(java.lang.String workflow)
        Sets the default client workflow to use for this search client.
        Parameters:
        workflow - the workflow name to use