Skip to content

Language support in Postgres #52

Description

@PostMidnight

Hi Developers,

The plugin won't support any other languages but English when used in conjunction with Postgress.

My current setup: NodeBB latest master, and Postgres v10.2.

To reproduce: Set the index language in ACP and initiating indexing: that will crashes NodeBB.

The reason: postgres.js: line 75: note the function call had "language" spelled incorrectly.

Fixing the spelling mistake does not cure the issue. The revised code failed in line 81 of postgres.js
db.pool.query('DROP INDEX "idx__searchtopic__content"', next);

with err = Error: index "idx__searchtopic__content" does not exist at Connection.parseE.

Unfortunately, this issue pertains to the implementation of indexing in Postgress I know very little about.

Any help will be highly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions