Skip to content

Commit

Permalink
Deprecate requireFieldMatchScan method
Browse files Browse the repository at this point in the history
  • Loading branch information
Philippus committed Aug 20, 2024
1 parent 77a4e91 commit 7e520df
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ case class HighlightField(field: String,
def postTag(tags: String*): HighlightField = postTag(tags)
def postTag(tags: Iterable[String]): HighlightField = copy(postTags = tags.toSeq)

def requireFieldMatchScan(req: Boolean): HighlightField = copy(requireFieldMatch = req.some)
@deprecated("Use requireFieldMatch", "8.15.0")
def requireFieldMatchScan(req: Boolean): HighlightField = requireFieldMatch(req)

def tagsSchema(tagsSchema: String): HighlightField = copy(tagsSchema = tagsSchema.some)

Expand Down

0 comments on commit 7e520df

Please sign in to comment.