Class MatchingIndexEntry

    • Constructor Detail

      • MatchingIndexEntry

        public MatchingIndexEntry​(IndexEntryKey pk)
        The constructor set only the key part of the entry.
    • Method Detail

      • getScore

        public float getScore()
        Return the score of this entry according the request.
      • setScore

        public void setScore​(float score)
        Set the score of this entry. Only the searchEngine should call this method.
      • getSortableXMLFormFields

        public Map<String,​String> getSortableXMLFormFields()
        gets the list of Sortable fields if the content is a form XML
        Returns:
        the sortableXMLFormFields
      • setSortableXMLFormFields

        public void setSortableXMLFormFields​(Map<String,​String> sortableXMLFormFields)
        Sets the Sortable fields if the content is a form XML
        Parameters:
        sortableXMLFormFields - the sortableXMLFormFields to set
      • setEmbeddedFileIds

        public void setEmbeddedFileIds​(String[] embeddedFileIds)
        Set the list of all linked attachment in wysiwyg content
        Parameters:
        embeddedFileIds - attachments ids separated by a blank space
      • setXMLFormFieldsForFacets

        public void setXMLFormFieldsForFacets​(Map<String,​String> fields)
      • getXMLFormFieldsForFacets

        public Map<String,​String> getXMLFormFieldsForFacets()
      • isExternalResult

        public boolean isExternalResult()
      • setExternalResult

        public void setExternalResult​(boolean externalResult)
      • equals

        public boolean equals​(Object o)
        Description copied from class: IndexEntry
        To be equal two IndexEntry must have the same PK. The equals method is redefined so IndexEntry objects can be put in a Set or used as Map key.
        Overrides:
        equals in class IndexEntry
      • hashCode

        public int hashCode()
        Description copied from class: IndexEntry
        Returns the hash code of the indexEntry. The hashCode method is redefined so IndexEntry objects can be put in a Set or used as Map key. Only the primary key is used to compute the hash code, as only the primary key is used to compare two entries.
        Overrides:
        hashCode in class IndexEntry