case class SearchRow extends Product with Serializable
An FTS row (or "hit").
- Since
1.0.0
- Alphabetic
- By Inheritance
- SearchRow
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- def explanationAs[T](implicit deserializer: JsonDeserializer[T]): Try[T]
If
explain
was set on theSearchQuery
this will return an explanation of the match.If
explain
was set on theSearchQuery
this will return an explanation of the match.It can be returned in any supported JSON type, e.g.
com.couchbase.client.scala.json.JsonObject
. See a full list at these JSON docs - def fieldsAs[T](implicit deserializer: JsonDeserializer[T]): Try[T]
The value of each requested field.
The value of each requested field.
It can be returned in any supported JSON type, e.g.
com.couchbase.client.scala.json.JsonObject
. See a full list at these JSON docs - def fragments: Map[String, Seq[String]]
Fragments contain the results of any requested highlighting.
- def id: String
The id of the matching document.
- def index: String
The name of the FTS index that gave this result.
- def locations: Option[SearchRowLocations]
The location of this hit, if it was requested with com.couchbase.client.scala.search.SearchOptions.includeLocations.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def productIterator: Iterator[Any]
- Definition Classes
- Product
- def score: Double
The score of this hit.