Class ElasticsearchQuery

java.lang.Object
org.eclipse.rdf4j.sail.elasticsearch.ElasticsearchQuery
All Implemented Interfaces:
SearchQuery

@Deprecated(forRemoval=true) public class ElasticsearchQuery extends Object implements SearchQuery
Deprecated, for removal: This API element is subject to removal in a future version.
To be removed, no longer used.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ElasticsearchQuery(org.elasticsearch.action.search.SearchRequestBuilder request, org.elasticsearch.index.query.QueryBuilder qb, ElasticsearchIndex index)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    highlight(IRI property)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Highlights the given field or all fields if null.
    query(Resource resource)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Queries for the given subject or all subjects if null.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ElasticsearchQuery

      public ElasticsearchQuery(org.elasticsearch.action.search.SearchRequestBuilder request, org.elasticsearch.index.query.QueryBuilder qb, ElasticsearchIndex index)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • query

      public Iterable<? extends DocumentScore> query(Resource resource) throws IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: SearchQuery
      Queries for the given subject or all subjects if null.
      Specified by:
      query in interface SearchQuery
      Throws:
      IOException
    • highlight

      public void highlight(IRI property)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Highlights the given field or all fields if null.
      Specified by:
      highlight in interface SearchQuery