You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a tsvector column that combines texts with different weights (e.g. title and body of the document are weighted differently).
Using the built-in sql function ts_rank, you can add a weighting component to the function, e.g. ts_rank('{0.8, 1.0}', my_tsvector, to_tsquery('test'))
Is there a way to do a similar weighting using the RUM function, rum_ts_score?
I checked the source and the function does have weights, but from what I can tell this isn't made available via the function itself. Is there a way to use weighting with the RUM function?
The text was updated successfully, but these errors were encountered:
I have a tsvector column that combines texts with different weights (e.g. title and body of the document are weighted differently).
Using the built-in sql function
ts_rank
, you can add a weighting component to the function, e.g.ts_rank('{0.8, 1.0}', my_tsvector, to_tsquery('test'))
Is there a way to do a similar weighting using the RUM function,
rum_ts_score
?I checked the source and the function does have weights, but from what I can tell this isn't made available via the function itself. Is there a way to use weighting with the RUM function?
The text was updated successfully, but these errors were encountered: