public interface SearchClient
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SEARCH_WORKFLOW
Default workflow used for new clients.
|
static String |
ENDPOINT |
| Modifier and Type | Method and Description |
|---|---|
Schema |
getDefaultSchema()
Gets the schema named 'default' which is the most commonly one used throughout the system.
|
SearchDocument |
getDocumentById(String documentId)
Gets a document by a specific document Id
|
Schema |
getSchema(String schemaName)
Get a named schema in the system or null if it does not exist.
|
QueryResponse |
search(QueryRequest query)
Sends the query to the Attivio search and returns the result.
|
StreamingQueryResponse |
search(StreamingQueryRequest req)
Sends the streaming query request to the Attivio search and returns the result.
|
QueryResponse |
search(String query)
Searches using a query string only.
|
void |
setClientWorkflow(String workflow)
Sets the default client workflow to use for this search client.
|
static final String DEFAULT_SEARCH_WORKFLOW
static final String ENDPOINT
QueryResponse search(QueryRequest query) throws AttivioException
query - the query to sendAttivioExceptionSearchDocument getDocumentById(String documentId) throws AttivioException
documentId - ID of the document that will be returnedAttivioExceptionQueryResponse search(String query) throws AttivioException
query - the query to useAttivioExceptionSchema getDefaultSchema() throws AttivioException
AttivioExceptionSchema getSchema(String schemaName) throws AttivioException
AttivioExceptionvoid setClientWorkflow(String workflow)
workflow - the workflow name to useStreamingQueryResponse search(StreamingQueryRequest req) throws AttivioException, IOException
req - the streaming query request to sendAttivioExceptionIOExceptionCopyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.