org.eclipse.rdf4j.sail.lucene

## Class LuceneQuery

- java.lang.Object
- - org.eclipse.rdf4j.sail.lucene.LuceneQuery

- All Implemented Interfaces:
    SearchQuery

  Deprecated.

      @Deprecated
      public class LuceneQuery
      extends Object
      implements SearchQuery

  To be removed, no longer used.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `LuceneQuery(org.apache.lucene.search.Query q, LuceneIndex index)` Deprecated.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `highlight(IRI property)` Deprecated.
    `Iterable<? extends DocumentScore>` | `query(Resource resource)` Deprecated.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LuceneQuery

          @Deprecated
          public LuceneQuery(org.apache.lucene.search.Query q,
                                         LuceneIndex index)

      Deprecated.

  - ### Method Detail

    - #### query

          @Deprecated
          public Iterable<? extends DocumentScore> query(Resource resource)
                                                              throws IOException

      Deprecated.
      Description copied from interface: `SearchQuery`
      Queries for the given subject or all subjects if null.
      Specified by:
        `query` in interface `SearchQuery`
      Throws:
        `IOException`

    - #### highlight

          @Deprecated
          public void highlight(IRI property)

      Deprecated.
      Description copied from interface: `SearchQuery`
      Highlights the given field or all fields if null.
      Specified by:
        `highlight` in interface `SearchQuery`

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.