/** * This file is auto generated from JavaDoc. Do not modify it manually. */ import type { String } from "../../types/java/lang/String"; import type { SpellCheck } from "../../types/senselogic/sitevision/api/search/searcher/component/SpellCheck"; import type { Builder } from "../../types/senselogic/sitevision/api/base/Builder"; /** *
* Builder for creating a {@link senselogic.sitevision.api.search.searcher.component.SpellCheck} component. *
* ** SpellCheckBuilder has one optional attribute: *
** Tip! The {@link senselogic.sitevision.api.base.Builder Builder interface documentation} contains * more information about Builders and how to work with them! *
* *
* An instance of the Sitevision class implementing this interface can be obtained via
* {@link senselogic.sitevision.api.search.SearchFactory#getSpellCheckBuilder()}.
* See {@link senselogic.sitevision.api.search.SearchFactory} for how to obtain an instance of the SearchFactory interface.
*
* The display query is used by {@link senselogic.sitevision.api.search.searcher.Searcher} as default spellcheck query * (i.e. if no custom value is set via this method). *
* ** Solr note: this is the 'spellcheck.q' param *
* @param aCustomSpellCheckQuery the custom query/expression (Note that anull or whitespace-only value will be ignored
by {@link senselogic.sitevision.api.search.searcher.Searcher}).
* @return this builder
* @since Sitevision 4.0
*/
setCustomSpellCheckQuery(
aCustomSpellCheckQuery: String | string
): SpellCheckBuilder;
/**
* Creates a SpellCheck component instance.
* @return a SpellCheck component.
*/
build(): SpellCheck;
}
declare namespace SpellCheckBuilder {}
declare var spellCheckBuilder: SpellCheckBuilder;
export default spellCheckBuilder;