Elasticsearch as a database

General Discussion

Suggested Topics

  • 0 Votes
    2 Posts

    MongoDB is the recommended data store.

    For development I use redis because it is just easier for me to use (e.g. zrange sortedSet 0 -1 vs db.objects.find({ _key: "sortedSet" }).pretty();)

    All three are supported by the NodeBB team 😄

  • 0 Votes
    3 Posts

    I tried but objectid could be replaced if _id was replaced with any type like integer which is same type as incremental ids.

  • 0 Votes
    1 Posts

    First of all, I'm new to NodeJS development. I'm liking it so far (except for a few annoyances here and there).

    I am extending development of nodebb-plugin-import-ipboard (forked and will send a PR once it's done) to support a bunch of stuff the current plugin does not currently support, for instance:

    IPB replies which are in a special blockquote format. Spoiler blocks Mentions A few more things...

    On my nodebb-plugin-import-ipboard/index.js file, which I'm requiring from a manual test.js file (so it's not running inside NodeBB!), I placed a:
    var db = require('nodebb-plugin-import/server/db');

    But when I try to use it like this:
    var imported_post = db.getObject("_imported_post:1566");
    I just get "undefined".
    I can see on the debugger variables Redis is loaded (but I don't know if it was loaded correctly.)

    I also tried loading data instead of db:
    var data = require('nodebb-plugin-import/server/data');
    var imported_post = data.getImportedPost("1566");

    And I just get undefined.
    Can someone tell me what I'm doing wrong?

  • 0 Votes
    2 Posts

    Update 16: 18 : I removed nodebb-plugin-poll and Seems to me that returned all right.
    For me is this.

  • 0 Votes
    1 Posts

    I m currently following these two links
    Configuring Database
    Setting Up NodeBB on Digital Ocean

    Is there anything else that I need to follow to host NodeBB on digital ocean with mongodb as database?
    I m reading through the NodeBB docs and following the links by order but was wondering is there anything else that I need to know about?
    And the digital ocean guide is 2 years old and wondering if there's changes in things that I m not aware of.

    Thank you 🙂