Interface SearchHandler

    • Field Detail

      • INDEX_BATCH_SIZE

        static final int INDEX_BATCH_SIZE
        The maximum number of entities that should be batched to be indexed at once
        See Also:
        Constant Field Values
    • Method Detail

      • ad

        AdSearchHandler ad()
        Returns the handler for searching advertisements
      • isPhraseSearchSupported

        boolean isPhraseSearchSupported()
        Returns whether phrase searches are supported within full-text queries
      • isTranslationSupported

        boolean isTranslationSupported()
        Returns whether translated values are supported
      • performIndex

        SearchHandler.PerformIndexResult performIndex​(String index,
                                                      List<Long> ids)
        Updates the given index for the entity with the given identifiers.
        Returns:
        Either null, indicating a no-op, or a result with the affected rows and failures.
      • reindex

        void reindex()
        Reindexes all data. This is only called by scripts, in case the admin needs to reindex the data
      • self

        <S extends SearchHandler> S self()
        Returns the own implementation