Hi @marindee
Sorry, I wont be much help on this one as I am unfamiliare with th eplugin you have referenced.
Your code looks promising. Have you debugged the $document
variable before returning it? Perhaps the formatting is 100% correct for the search plugin to work?
Thanks
E