Skip to content

Commit

Permalink
Fix code remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
markaya committed May 30, 2023
1 parent f09ba33 commit c9b9590
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,14 @@ object ElasticQuery {

/**
* Constructs a type-safe instance of [[zio.elasticsearch.query.FunctionScore]] query with one or multiple
* [[zio.elasticsearch.query.FunctionScoreFunction]]
* [[zio.elasticsearch.query.FunctionScoreFunction]].
*
* @param functions
* [[zio.elasticsearch.query.FunctionScoreFunction]] functions that will be part of
* [[zio.elasticsearch.query.FunctionScore]] query
* @return
* an instance of [[zio.elasticsearch.query.FunctionScore]] that represents the Function Score Query with functions
* that are used to calculate score for result
* that are used to calculate score for result.
*/
final def functionScore[S: Schema](
functions: FunctionScoreFunction[S]*
Expand All @@ -150,14 +150,14 @@ object ElasticQuery {

/**
* Constructs an instance of [[zio.elasticsearch.query.FunctionScore]] query with one or multiple
* [[zio.elasticsearch.query.FunctionScoreFunction]]
* [[zio.elasticsearch.query.FunctionScoreFunction]].
*
* @param functions
* [[zio.elasticsearch.query.FunctionScoreFunction]] functions that will be part of
* [[zio.elasticsearch.query.FunctionScore]] query
* @return
* an instance of [[zio.elasticsearch.query.FunctionScore]] that represents the Function Score Query with functions
* that are used to calculate score for result
* that are used to calculate score for result.
*/
final def functionScore(
functions: FunctionScoreFunction[Any]*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ object FunctionScoreFunction {
* [[zio.elasticsearch.query.WeightFunction]] score allows you to multiply the score by the provided `weight`.
*
* @param weight
* the number you wish to multiply the score with
* the non-negative number you wish to multiply the score with
* @return
* an instance of [[zio.elasticsearch.query.WeightFunction]] that can be used to in
* [[zio.elasticsearch.query.FunctionScoreQuery]].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ sealed trait HasChildQuery[S]
* limit, it is excluded from the search results.
*
* @param value
* the [[scala.Int]] value for `minChildren` parameter
* the whole number value for `minChildren` parameter
* @return
* an instance of [[HasChildQuery]] enriched with the `minChildren` parameter.
*/
Expand Down

0 comments on commit c9b9590

Please sign in to comment.