[nodebb-plugin-elasticsearch] Just started
-
In the meanwhile I added the search URL as hook - and I made a pull request to allow me to replace original search function by an admin setting to disable DB search (then original search url is not registered). If somebody wants to play around with it can take my forked NodeBB repository tepmorary. At least this allow me to continue on search functions independently until the NodeBB team told me whats the best way to register new search url ...
To mak it short:
npm install seti123/NodeBB
Rest of procedure as usual ...
then npm install seti123/nodebb-plugin-elasticsearchDetails described in my github repository or page mentioned above.
-
Is the text search on Mongo DB better? For a short while I had the idea to implement database interface using ElasticSearch instead of Mongo/REDIS but the DB design is very much tailored to REDIS and I expect higher effort than using the plugin way..
Background: The story started as I was unhappy with search results and answer was it is limitation in using a simple search library for REDIS (maybe there are others doing better ...). So I could imagine that it behaves better on Mongo. Personally I have no experience with Mongo so I did not consider to use it ...
-
Maybe we should move out our implementation of reds into a plugin form since we don't have an equivalent on mongodb
Since elastic search has a mongodb plugin, maybe this should be the standard search method for NodeBB?
@seti123 let me know what hooks you need implemented and I'll make sure it happens, this is pretty cool stuff you've done so far
-
@julian said:
I'd love if this was the case. However, how easy is it to install elastic search?
apt-get
-able?You'd lose Windows support by doing that though. This is probably not your highest priority, but if it works on Windows now, why break it intentionally?
-
@julian said:
Hm... NodeBB already isn't very installable on windows -- I believe bcrypt can't compile (unless the necessary compile files are installed?)?
I'm sure elasticsearch is available on Windows, no?
Not sure about elasticsearch but after a bit of tinkering everything works fine on Windows for me. I believe the only thing I had to install besides node was OpenSSL, and mongodb ofcourse.
-
Actually supposedly you can also develop node in VS!