Package | Description |
---|---|
com.marklogic.client.expression |
The package provides classes for building Optic
plan pipelines and expressions for execution on the REST
server.
|
com.marklogic.client.type |
The package provides interfaces specifying the
type of an expression or value as passed to a
PlanBuilder
method or returned from a RowRecord
method. |
Modifier and Type | Method and Description |
---|---|
PlanSearchOptions |
PlanBuilderBase.searchOptions()
Provides a search options object to configure
the execution of the
PlanBuilderBase.fromSearch(CtsQueryExpr, PlanExprColSeq,
XsStringVal, PlanSearchOptions) accessor. |
Modifier and Type | Method and Description |
---|---|
PlanBuilder.AccessPlan |
PlanBuilderBase.fromSearch(CtsQueryExpr query,
PlanExprColSeq columns,
XsStringVal qualifierName,
PlanSearchOptions options)
Supports document matching and relevance by
constructing rows with the document fragment id and columns for
relevance factors.
|
PlanBuilder.AccessPlan |
PlanBuilderBase.fromSearchDocs(CtsQueryExpr query,
java.lang.String qualifierName, PlanSearchOptions options)
Provides a convenience for matching documents
and constructing rows with the score, document URI, and document
content.
|
Modifier and Type | Method and Description |
---|---|
PlanSearchOptions |
PlanSearchOptions.withBm25LengthWeight(double bm25LengthWeight) |
PlanSearchOptions |
PlanSearchOptions.withQualityWeight(float qualityWeight)
Changed in release 7.0.0 to return a float, as
the server requires a float and throws an error on a double.
|
PlanSearchOptions |
PlanSearchOptions.withQualityWeight(XsFloatVal qualityWeight)
Changed in release 7.0.0 to return a float, as
the server requires a float and throws an error on a double.
|
PlanSearchOptions |
PlanSearchOptions.withScoreMethod(PlanSearchOptions.ScoreMethod scoreMethod) |
Copyright © 2024 MarkLogic Corporation. All Rights Reserved.