Thread:Extension talk:CirrusSearch/Failed opening required FunctionScore.php/reply (3)

The packaged extension may be outdated. The missing file is in the Elastica Github repo. My error was fixed after adding it manually.

https://github.com/ruflin/Elastica/blob/master/lib/Elastica/Query/FunctionScore.php