0

I am trying figure out a way to rank search results according to a field that is not part of the search criteria. i.e. relevance of the search not only depend on the matches but documents also have a default relevance rank among themselves.

My searches so far has failed and could not confirm if it is even a supported feature; most cts:search documentation is about ranking matches.

So, is there a built-in marklogic feature that allow us to assign a value multiplier to documents; based on element values for example.

thanks a lot, K.

PS: I use marklogic 9.

4

2 に答える 2

1

を見てくださいcts:boost-query: 一致する必要があるプライマリ クエリと、スコアに影響するだけのセカンダリ クエリが必要です。

于 2017-11-15T19:15:39.603 に答える