Class FulltextSearchResponse.Document

java.lang.Object
ch.tocco.nice2.enterprisesearch.api.FulltextSearchResponse.Document
Enclosing interface:
FulltextSearchResponse

public static class FulltextSearchResponse.Document extends Object
A data transfer object for a result document (i.e. an entity).
  • Constructor Details Link icon

  • Method Details Link icon

    • getId Link icon

      public String getId()
      An ID exists of <entity-type>:<primary-key>. A unique key over the whole index.
    • setId Link icon

      public void setId(String id)
      See Also:
    • getPk Link icon

      public String getPk()
      Primary key of the underlying entity (as string because any type may be a primary key).
    • setPk Link icon

      public void setPk(String pk)
      See Also:
    • getEntityType Link icon

      public String getEntityType()
      Entity type of the underlying entity.
    • setEntityType Link icon

      public void setEntityType(String entityType)
      See Also:
    • getDefaultDisplay Link icon

      public String getDefaultDisplay()
      Short display text of the entity.
    • setDefaultDisplay Link icon

      public void setDefaultDisplay(String defaultDisplay)
      See Also:
    • getVersion Link icon

      public Long getVersion()
      Version of the entity.
    • setVersion Link icon

      public void setVersion(Long version)
      See Also:
    • getHighlighting Link icon

      public Map<String,List<String>> getHighlighting()
    • setHighlighting Link icon

      public void setHighlighting(Map<String,List<String>> highlighting)
    • toString Link icon

      public String toString()
      Overrides:
      toString in class Object