Is there an Elastic Search connector for Discourse?

(Bart) #1


I’d like to be able to load our Discourse data into Elastic Search for reporting purposes. Has this been done before, and can anyone recommend ‘best practices’ or a plugin to help us get started?


(Matt Palmer) #2

I’m pretty sure it hasn’t been done. If you’re looking for a real-time feed of posts, a plugin that hooked into the Post model’s after_save hook and shipped the post into ES would probably work best; for an offline “rummage around”, I’d probably just write a quick-and-dirty script to scrape the table and dump it into ES.