Interface DDMIndexer


public interface DDMIndexer
  • Field Details

  • Method Details

    • addAttributes

      void addAttributes(com.liferay.portal.kernel.search.Document document, DDMStructure ddmStructure, DDMFormValues ddmFormValues)
    • createDDMStructureFieldSort

      com.liferay.portal.search.sort.Sort createDDMStructureFieldSort(DDMStructure ddmStructure, String fieldReference, Locale locale, com.liferay.portal.search.sort.SortOrder sortOrder) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createDDMStructureFieldSort

      com.liferay.portal.search.sort.Sort createDDMStructureFieldSort(String ddmStructureFieldName, Locale locale, com.liferay.portal.search.sort.SortOrder sortOrder) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • createFieldValueQueryFilter

      com.liferay.portal.kernel.search.filter.QueryFilter createFieldValueQueryFilter(DDMStructure ddmStructure, String fieldReference, Locale locale, Serializable value) throws Exception
      Throws:
      Exception
    • createFieldValueQueryFilter

      com.liferay.portal.kernel.search.filter.QueryFilter createFieldValueQueryFilter(String ddmStructureFieldName, Serializable ddmStructureFieldValue, Locale locale) throws Exception
      Throws:
      Exception
    • encodeName

      String encodeName(long ddmStructureId, String fieldReference)
    • encodeName

      String encodeName(long ddmStructureId, String fieldReference, Locale locale)
    • extractIndexableAttributes

      String extractIndexableAttributes(DDMStructure ddmStructure, DDMFormValues ddmFormValues, Locale locale)
    • getValueFieldName

      default String getValueFieldName(String indexType)
    • getValueFieldName

      default String getValueFieldName(String indexType, Locale locale)
    • isLegacyDDMIndexFieldsEnabled

      default boolean isLegacyDDMIndexFieldsEnabled()