2011-07-22 75 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支持,請給我一些例子。 謝謝:)

回答