All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.nemerosa.ontrack.model.support.SearchConfigProperties.kt Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.model.support

/**
 * Configuration properties for the search
 */
class SearchConfigProperties {

    /**
     * Index configuration
     */
    var index = SearchIndexProperties()

    class SearchIndexProperties {
        /**
         * Flag to enable immediate re-indexation after items are added into the search index (used mostly
         * for testing).
         */
        var immediate = false
        /**
         * Number of items to include in a batch when re-indexing a whole collection.
         *
         * Note that this can be overridden by the individual search indexers.
         */
        var batch = 1000
        /**
         * Logging mode for batch indexing (only actual actions are shown)
         */
        var logging = false
        /**
         * Tracing mode for batch indexing (generates an awful lot of logging at DEBUG level)
         */
        var tracing = false
        /**
         * Option to ignore errors when creating indexes. For test only, allowing for concurrent testing.
         */
        var ignoreExisting = false
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy