Interface IIssueIndexMapper


public interface IIssueIndexMapper
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    map(IIndex issueIndex, Issue issue)
    Use this method for adding/removing data to the index entry associated with each issue
    void
    Registers description of an index fields, so that those can be later used in different interfaces (like UI, java search services, etc).
  • Method Details

    • map

      void map(IIndex issueIndex, Issue issue)
      Use this method for adding/removing data to the index entry associated with each issue
      Parameters:
      issueIndex - the resulting index entry
      issue - the Issue to map
    • registerSearchableFields

      void registerSearchableFields(IIndexRegistry indexRegistry)
      Registers description of an index fields, so that those can be later used in different interfaces (like UI, java search services, etc).

      It is not a requirement to have all the fields added to the index by the map(IIndex, Issue) registered in this method. However it is a good idea to do so in order to dynamically make other parts of the system aware of searchable fields.

      Parameters:
      indexRegistry - registry to record metadata around searchable fields