Copyright© 2008-2022 Sitevision AB, all rights reserved.
@Requireable(value="SpellCheckBuilder") public interface SpellCheckBuilder extends Builder<SpellCheck>
Builder for creating a SpellCheck component.
SpellCheckBuilder has one optional attribute:
Tip! The 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
SearchFactory.getSpellCheckBuilder().
See SearchFactory for how to obtain an instance of the SearchFactory interface.
| Modifier and Type | Method and Description |
|---|---|
SpellCheck |
build()
Creates a SpellCheck component instance.
|
SpellCheckBuilder |
setCustomSpellCheckQuery(String aCustomSpellCheckQuery)
Sets a custom query/expression spellchecker should use when the extracting result.
|
SpellCheckBuilder setCustomSpellCheckQuery(String aCustomSpellCheckQuery)
The display query is used by Searcher as default spellcheck query
(i.e. if no custom value is set via this method).
Solr note: this is the 'spellcheck.q' param
aCustomSpellCheckQuery - the custom query/expression (Note that a null or whitespace-only value will be ignored
by Searcher).SpellCheck build()
build in interface Builder<SpellCheck>Sitevision - Portal and Content Management Made Easy
Sitevision is an advanced Java enterprise portal product and a portlet container (JSR 286) that implements Java Content Repository (JSR 283).
Copyright© 2008-2022 Sitevision AB, all rights reserved.