org.eclipse.rdf4j.sail.lucene

## Interface SearchDocument

- All Known Implementing Classes:
    ElasticsearchDocument, LuceneDocument, SolrSearchDocument

      public interface SearchDocument

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addGeoProperty(String name, String value)`
    `void` | `addProperty(String name)` Adds/creates a new property with the given name.
    `void` | `addProperty(String name, String value)` Adds a value to the property with the given name.
    `String` | `getContext()`
    `String` | `getId()`
    `List<String>` | `getProperty(String name)`
    `Collection<String>` | `getPropertyNames()` Returns a set of the property names.
    `String` | `getResource()`
    `boolean` | `hasProperty(String name, String value)` Checks whether a field occurs with a specified value in a Document.

- - ### Method Detail

    - #### getId

          String getId()

    - #### getResource

          String getResource()

    - #### getContext

          String getContext()

    - #### getPropertyNames

          Collection<String> getPropertyNames()

      Returns a set of the property names.

    - #### addProperty

          void addProperty(String name)

      Adds/creates a new property with the given name.

    - #### addProperty

          void addProperty(String name,
                           String value)

      Adds a value to the property with the given name.

    - #### addGeoProperty

          void addGeoProperty(String name,
                              String value)

    - #### hasProperty

          boolean hasProperty(String name,
                              String value)

      Checks whether a field occurs with a specified value in a Document.

    - #### getProperty

          List<String> getProperty(String name)

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