Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
検索にSolrを使用しています。
整数フィールド「人気」を持つドキュメントがあります。
通常の全文検索の関連性と人気の組み合わせで結果をランク付けしたいと思います。
これは、diggでの検索のようなものです。結果のランキングは、検索の関連性と、投稿に含まれるdigの数に基づいています。
私は特定のランキングアルゴリズムを念頭に置いていません。しかし、これはsolrで実行できることですか?
SolrのFunctionQueryはまさにあなたが必要とするものです:
http://wiki.apache.org/solr/FunctionQuery