Columbus.MatchResults – libcolumbus Reference Manual
MatchResults
Object Hierarchy:
Columbus.MatchResults
Columbus.MatchResults
Columbus.MatchResults
Description:
[
Compact
]
[
CCode
( cname =
"ColMatchResults"
, free_function =
"col_match_results_delete"
) ]
public
class
MatchResults
Namespace:
Columbus
Package:
libcolumbus
Content:
Creation methods:
public
MatchResults
()
Creates a new MatchResults object
Methods:
public
int64
get_id
(
size_t
i)
Returns the id of the Document related to match with the number i.
public
double
get_relevancy
(
size_t
i)
Returns the calculated relevancy of the match with number i. HERE BE DRAGONS: the c-api is broken here. the bug is known details at:
https://bugs.launchpad.net/libcolumbus/+bug/1622424
public
size_t
size
()
Returns the size of the MatchResults. Use it to iterate over the searchresults together with the methods
MatchResults.get_id
and
MatchResults.get_relevancy
2022 vala-language.org