Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Xerp::Query::Terms::SalientTerm
Inherits
Struct
<
Value
<
Object
A term with its computed salience score.
Constructors
new
(term :
String
, token_id :
Int64
, salience :
Float64
, is_query_term :
Bool
, source :
Xerp::Query::Terms::Source
=
Source::Scope
)
Source
Instance methods
is_query_term
Source
salience
Source
source
Source
term
Source
token_id
Source