Creating custom FunctionQuery in Solr
问题 I want to create a custom Solr FunctionQuery so that I would be able to get the actual length of field (in terms). The results might look like this : { "responseHeader":{ "status":0, "QTime":8, "params":{ "q":"python", "indent":"on", "fl":"title,score,[features efi.query=python store=myfeature_store]", "wt":"json"}}, "response":{"numFound":793,"start":0,"maxScore":0.33828905,"docs":[ { "title":"Newest 'python' Questions - Stack Overflow", "score":0.33828905, "[features]":"titleLength=5"}, ] }