Class ElasticsearchObjectProjection.Factory

    • Constructor Detail

      • Factory

        public Factory()
    • Method Detail

      • create

        public org.hibernate.search.backend.elasticsearch.search.projection.impl.ElasticsearchObjectProjection.Builder create​(ElasticsearchSearchIndexScope<?> scope,
                                                                                                                              ElasticsearchSearchIndexCompositeNodeContext objectField)
        Parameters:
        scope - The search context, i.e. information regarding the targeted indexes.
        objectField - The targeted index node.
        Returns:
        The query element, or an intermediary builder (depending on the factory type).