public class ExpansionParams
extends java.lang.Object
implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_GENERATE_ANALYSIS |
static boolean |
DEFAULT_GENERATE_FACET |
static boolean |
DEFAULT_GENERATE_INDEX_SCHEMA |
static boolean |
DEFAULT_GENERATE_META |
static boolean |
DEFAULT_GENERATE_PREFIX |
java.lang.String |
expandedPipelines |
java.lang.String |
expandedSearchLogics |
boolean |
generateAnalysis |
boolean |
generateFacet |
boolean |
generateIndexSchema |
boolean |
generateMeta |
boolean |
generatePrefix |
Constructor and Description |
---|
ExpansionParams() |
ExpansionParams(ExpansionParams o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ExpansionParams.
|
static ExpansionParams |
fromString(java.lang.String s)
String representation of this ExpansionParams.
|
java.lang.String |
getExpandedPipelines()
A comma-separated list of analysis pipelines to generate mappings and document processors on.
|
java.lang.String |
getExpandedSearchLogics()
A comma-separated list of search logics to generate prefix handlers, facets and hit metas on.
|
boolean |
isGenerateAnalysis()
Creates the required mappings and document processors for this property.
|
boolean |
isGenerateFacet()
Creates a category facet in the search logics for this property.
|
boolean |
isGenerateIndexSchema()
Creates the required index fields for this property.
|
boolean |
isGenerateMeta()
Creates a hit meta in the search logics for this property.
|
boolean |
isGeneratePrefix()
Creates a prefix handler in the search logics for this property.
|
ExpansionParams |
makeCopy()
Creates and returns a deep copy of this ExpansionParams.
|
static ExpansionParams |
readFrom(java.io.InputStream is)
Read this ExpansionParams from an XML fragment.
|
void |
setExpandedPipelines(java.lang.String expandedPipelines)
A comma-separated list of analysis pipelines to generate mappings and document processors on.
|
void |
setExpandedSearchLogics(java.lang.String expandedSearchLogics)
A comma-separated list of search logics to generate prefix handlers, facets and hit metas on.
|
void |
setGenerateAnalysis(boolean generateAnalysis)
Creates the required mappings and document processors for this property.
|
void |
setGenerateFacet(boolean generateFacet)
Creates a category facet in the search logics for this property.
|
void |
setGenerateIndexSchema(boolean generateIndexSchema)
Creates the required index fields for this property.
|
void |
setGenerateMeta(boolean generateMeta)
Creates a hit meta in the search logics for this property.
|
void |
setGeneratePrefix(boolean generatePrefix)
Creates a prefix handler in the search logics for this property.
|
java.lang.String |
toString()
String representation of this ExpansionParams.
|
ExpansionParams |
withExpandedPipelines(java.lang.String expandedPipelines) |
ExpansionParams |
withExpandedSearchLogics(java.lang.String expandedSearchLogics) |
ExpansionParams |
withGenerateAnalysis(boolean generateAnalysis) |
ExpansionParams |
withGenerateAnalysis(java.lang.Boolean generateAnalysis) |
ExpansionParams |
withGenerateFacet(boolean generateFacet) |
ExpansionParams |
withGenerateFacet(java.lang.Boolean generateFacet) |
ExpansionParams |
withGenerateIndexSchema(boolean generateIndexSchema) |
ExpansionParams |
withGenerateIndexSchema(java.lang.Boolean generateIndexSchema) |
ExpansionParams |
withGenerateMeta(boolean generateMeta) |
ExpansionParams |
withGenerateMeta(java.lang.Boolean generateMeta) |
ExpansionParams |
withGeneratePrefix(boolean generatePrefix) |
ExpansionParams |
withGeneratePrefix(java.lang.Boolean generatePrefix) |
void |
writeTo(java.io.OutputStream os)
Write this ExpansionParams as an XML fragment
|
public boolean generateAnalysis
public static final boolean DEFAULT_GENERATE_ANALYSIS
public boolean generateIndexSchema
public static final boolean DEFAULT_GENERATE_INDEX_SCHEMA
public boolean generatePrefix
public static final boolean DEFAULT_GENERATE_PREFIX
public boolean generateFacet
public static final boolean DEFAULT_GENERATE_FACET
public boolean generateMeta
public static final boolean DEFAULT_GENERATE_META
public java.lang.String expandedPipelines
public java.lang.String expandedSearchLogics
public ExpansionParams()
public ExpansionParams(ExpansionParams o)
public void setGenerateAnalysis(boolean generateAnalysis)
public boolean isGenerateAnalysis()
public ExpansionParams withGenerateAnalysis(boolean generateAnalysis)
public ExpansionParams withGenerateAnalysis(java.lang.Boolean generateAnalysis)
public void setGenerateIndexSchema(boolean generateIndexSchema)
public boolean isGenerateIndexSchema()
public ExpansionParams withGenerateIndexSchema(boolean generateIndexSchema)
public ExpansionParams withGenerateIndexSchema(java.lang.Boolean generateIndexSchema)
public void setGeneratePrefix(boolean generatePrefix)
public boolean isGeneratePrefix()
public ExpansionParams withGeneratePrefix(boolean generatePrefix)
public ExpansionParams withGeneratePrefix(java.lang.Boolean generatePrefix)
public void setGenerateFacet(boolean generateFacet)
public boolean isGenerateFacet()
public ExpansionParams withGenerateFacet(boolean generateFacet)
public ExpansionParams withGenerateFacet(java.lang.Boolean generateFacet)
public void setGenerateMeta(boolean generateMeta)
public boolean isGenerateMeta()
public ExpansionParams withGenerateMeta(boolean generateMeta)
public ExpansionParams withGenerateMeta(java.lang.Boolean generateMeta)
public void setExpandedPipelines(java.lang.String expandedPipelines)
public java.lang.String getExpandedPipelines()
public ExpansionParams withExpandedPipelines(java.lang.String expandedPipelines)
public void setExpandedSearchLogics(java.lang.String expandedSearchLogics)
public java.lang.String getExpandedSearchLogics()
public ExpansionParams withExpandedSearchLogics(java.lang.String expandedSearchLogics)
public ExpansionParams makeCopy()
public static ExpansionParams readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
javax.xml.bind.JAXBException
java.io.IOException
public static ExpansionParams fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class java.lang.Object
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.