Interface WritableDatabaseService.SearchResultPropertiesAdjuster

  • Enclosing class:
    WritableDatabaseService

    public static interface WritableDatabaseService.SearchResultPropertiesAdjuster
    • Method Detail

      • adjustProperties

        void adjustProperties​(AnnotatedPluginDocument document,
                              java.util.Map<java.lang.String,​java.lang.Object> searchResultProperties)
        Adjust the contents of searchResultProperties based on the given document. For example, smart folders add a relevance property.
        Parameters:
        document - the document the properties apply to
        searchResultProperties - the properties to be adjusted
      • adjustPropertyFields

        void adjustPropertyFields​(java.util.List<DocumentField> searchResultPropertyFields)
        Adjust the contents of searchResultPropertyFields. For example, smart folders add a relevance field.
        Parameters:
        searchResultPropertyFields - the list of fields to be adjusted.