2011-07-22 74 views
2

Solr的维基FunctionQuery页面显示Solr的排序功能Solr是否支持自定义FunctionQuery?

Sort By Function 

<!> Solr3.1 

It is now possible to sort the results by the output of a function. For instance, if an application wanted to sort by distance, it could do: 

http://localhost:8983/solr/select?q=*:*&sort=dist(2, point1, point2) desc 

但所有Solr的可用功能不适合我的情况下支持,所以不支持Solr的定制functionquery?

如果solr支持,请给我一些例子。 谢谢:)

回答