Package org.codelibs.fess.es.query
Class StoredLtrQueryBuilder
java.lang.Object
org.opensearch.index.query.AbstractQueryBuilder<StoredLtrQueryBuilder>
org.codelibs.fess.es.query.StoredLtrQueryBuilder
- All Implemented Interfaces:
org.opensearch.common.io.stream.NamedWriteable,org.opensearch.common.io.stream.Writeable,org.opensearch.common.xcontent.ToXContent,org.opensearch.common.xcontent.ToXContentObject,org.opensearch.index.query.QueryBuilder,org.opensearch.index.query.Rewriteable<org.opensearch.index.query.QueryBuilder>
public class StoredLtrQueryBuilder
extends org.opensearch.index.query.AbstractQueryBuilder<StoredLtrQueryBuilder>
implements org.opensearch.common.io.stream.NamedWriteable
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent
org.opensearch.common.xcontent.ToXContent.DelegatingMapParams, org.opensearch.common.xcontent.ToXContent.MapParams, org.opensearch.common.xcontent.ToXContent.Params -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.opensearch.common.ParseFieldstatic final org.opensearch.common.ParseFieldstatic final org.opensearch.common.ParseFieldstatic final Stringstatic final org.opensearch.common.ParseFieldstatic final org.opensearch.common.ParseFieldFields inherited from class org.opensearch.index.query.AbstractQueryBuilder
boost, BOOST_FIELD, DEFAULT_BOOST, NAME_FIELD, queryNameFields inherited from interface org.opensearch.index.query.Rewriteable
MAX_REWRITE_ROUNDSFields inherited from interface org.opensearch.common.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactiveFeatures(List<String> activeFeatures) protected booleandoEquals(StoredLtrQueryBuilder other) protected intprotected org.apache.lucene.search.QuerydoToQuery(org.opensearch.index.query.QueryShardContext context) protected voiddoWriteTo(org.opensearch.common.io.stream.StreamOutput out) protected voiddoXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params) featureSetName(String featureSetName) params()Methods inherited from class org.opensearch.index.query.AbstractQueryBuilder
addValidationError, boost, boost, checkNegativeBoost, declareStandardFields, doRewrite, equals, extractInnerHitBuilders, getName, hashCode, parseInnerQueryBuilder, printBoostAndQueryName, queryName, queryName, requireValue, rewrite, throwParsingExceptionOnMultipleFields, toQuery, toString, toXContent, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opensearch.common.xcontent.ToXContentObject
isFragmentMethods inherited from interface org.opensearch.common.io.stream.Writeable
writeTo
-
Field Details
-
NAME
- See Also:
-
MODEL_NAME
public static final org.opensearch.common.ParseField MODEL_NAME -
FEATURESET_NAME
public static final org.opensearch.common.ParseField FEATURESET_NAME -
STORE_NAME
public static final org.opensearch.common.ParseField STORE_NAME -
PARAMS
public static final org.opensearch.common.ParseField PARAMS -
ACTIVE_FEATURES
public static final org.opensearch.common.ParseField ACTIVE_FEATURES
-
-
Constructor Details
-
StoredLtrQueryBuilder
public StoredLtrQueryBuilder()
-
-
Method Details
-
getWriteableName
- Specified by:
getWriteableNamein interfaceorg.opensearch.common.io.stream.NamedWriteable
-
doWriteTo
- Specified by:
doWriteToin classorg.opensearch.index.query.AbstractQueryBuilder<StoredLtrQueryBuilder>- Throws:
IOException
-
doXContent
protected void doXContent(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params) throws IOException - Specified by:
doXContentin classorg.opensearch.index.query.AbstractQueryBuilder<StoredLtrQueryBuilder>- Throws:
IOException
-
doToQuery
protected org.apache.lucene.search.Query doToQuery(org.opensearch.index.query.QueryShardContext context) throws IOException - Specified by:
doToQueryin classorg.opensearch.index.query.AbstractQueryBuilder<StoredLtrQueryBuilder>- Throws:
IOException
-
doEquals
- Specified by:
doEqualsin classorg.opensearch.index.query.AbstractQueryBuilder<StoredLtrQueryBuilder>
-
doHashCode
protected int doHashCode()- Specified by:
doHashCodein classorg.opensearch.index.query.AbstractQueryBuilder<StoredLtrQueryBuilder>
-
modelName
-
modelName
-
featureSetName
-
featureSetName
-
storeName
-
storeName
-
params
-
params
-
activeFeatures
-
activeFeatures
-