Created
April 2, 2016 07:02
-
-
Save mkash32/25f04672f4692ccdc94c78c35575dd2e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MatchDescriptor | |
{ | |
public: | |
MatchDescriptor(jlong docid_, jlong rank_, jint percent_, jdouble weight_, Xapian::Document document_): docid(docid_), rank(rank_), percent(percent_), weight(weight_), document(document_){} | |
jlong get_docid() { return docid; } | |
int get_percent() { return percent; } | |
jlong get_rank() { return rank; } | |
jdouble get_weight() { return weight; } | |
Xapian::Document get_document() { return document; } | |
private: | |
jlong docid, rank; | |
jint percent; | |
jdouble weight; | |
Xapian::Document document; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment