NodeBB 3.9.x Custom Search Plugin Development

Job ID: 38614893

Budget: $50 – $100 USD

I’m developing a custom plugin for NodeBB v3.9.x (MongoDB backend, Harmony child theme) that adds search functionality to a specific category (Category xx). NodeBB is running on Ubuntu.

Goal:
Create a search form in Category xx that searches post titles and optionally message bodies. Users should be able to search for terms like "Seattle" or "09/09/2024" and see relevant results from that category only.

Current Status:
The search form is showing only on a custom URL (/search/categories), not within Category xx.
Search queries return errors like [[error:invalid-data]] or TypeError: Cannot read properties of undefined (reading 'filter').
The Topics.search function is not filtering results correctly.

What's needed from you:
Fix Search Logic:
Ensure Topics.search fetches results properly for Category xx.

UI Update:
Embed the search form at the top of the Category xx page.

Debug & Optimize:
Address the current errors and ensure performance remains smooth, even with a large number of posts.

I can provide the plugin I have so far. You'll have to work on your own host because mine is not live.
Related categories: Linux Node.js