Class EsResult

    • Method Detail

      • getDocuments

        public DocumentModelList getDocuments()
        Get the list of Nuxeo documents, this is populated when using a SELECT * clause, or when submitting esQuery.
        Returns:
        null if the query returns fields or if the onlyElasticsearchResponse option is set.
      • getRows

        public IterableQueryResult getRows()
        Iterator to use when selecting fields: SELECT ecm:uuid ...
        Returns:
        null if the query returns documents or if the onlyElasticsearchResponse option is set.
        Since:
        7.2
      • getElasticsearchResponse

        public org.elasticsearch.action.search.SearchResponse getElasticsearchResponse()
        Returns the original Elasticsearch response. Use it at your own risk
        Since:
        7.3