Interface SearchDocument

All Known Implementing Classes:
ElasticsearchDocument, LuceneDocument, SolrSearchDocument

public interface SearchDocument
  • Method Details Link icon

    • getId Link icon

      String getId()
    • getResource Link icon

      String getResource()
    • getContext Link icon

      String getContext()
    • getPropertyNames Link icon

      Collection<String> getPropertyNames()
      Returns a set of the property names.
    • addProperty Link icon

      void addProperty(String name)
      Adds/creates a new property with the given name.
    • addProperty Link icon

      void addProperty(String name, String value)
      Adds a value to the property with the given name.
    • addGeoProperty Link icon

      void addGeoProperty(String name, String value)
    • hasProperty Link icon

      boolean hasProperty(String name, String value)
      Checks whether a field occurs with a specified value in a Document.
    • getProperty Link icon

      List<String> getProperty(String name)