The XQuery Full Text Recommendation allows for the usage of scoring models
and values within queries, with scoring being completely implementation defined.
BaseX offers an internal scoring model which can be extended to
different application scenarios.
{{Mark|Updated in Version 7.3:}}TF/IDF scoring was discarded in favor of the internal scoring model, which proved to yield better results for XML documents in most of the cases. The score of a full-text result is calculated by taking the number of found terms and their frequency in a single text node into account. Terms will be ranked higher if they are found in short textstext nodes.
==Thesaurus==