Class SolrFieldInfo

java.lang.Object
io.goobi.viewer.api.rest.model.index.SolrFieldInfo

public class SolrFieldInfo extends Object
Solr field information as JSON.
  • Constructor Details

    • SolrFieldInfo

      public SolrFieldInfo(String field)
      Constructor.
      Parameters:
      field - Main field name
  • Method Details

    • getField

      public String getField()
      Returns:
      the field
    • getSortField

      public String getSortField()
      Returns:
      the sortField
    • setSortField

      public void setSortField(String sortField)
      Parameters:
      sortField - the sortField to set
    • getFacetField

      public String getFacetField()
      Returns:
      the facetField
    • setFacetField

      public void setFacetField(String facetField)
      Parameters:
      facetField - the facetField to set
    • getBoolField

      public String getBoolField()
      Returns:
      the boolField
    • setBoolField

      public void setBoolField(String boolField)
      Parameters:
      boolField - the boolField to set
    • isIndexed

      public boolean isIndexed()
      Returns:
      the indexed
    • setIndexed

      public void setIndexed(boolean indexed)
      Parameters:
      indexed - the indexed to set
    • isStored

      public boolean isStored()
      Returns:
      the stored
    • setStored

      public void setStored(boolean stored)
      Parameters:
      stored - the stored to set
    • getTranslations

      public Map<String,String> getTranslations()
      Returns:
      the translations