Search looks for the phrase only in English

Technical Support

Suggested Topics

  • /api/search

    Technical Support
    0 Votes
    1 Posts

    new nodebb user here, running v1.16.1 locally with redis. I can't figure out how to use the search api, keep getting denied:

    using the /admin/settings/api token i get 401 "A valid login session was not found.": curl -v -H 'Authentication: Bearer 633d1f38-8576-4ce1-bd2c-c799a474b763' -H 'Authorization: Bearer 633d1f38-8576-4ce1-bd2c-c799a474b763' 'localhost:4567/api/search?term=restless&in=categories&uid=2' using the write-api token i get 403 forbidden 'You are not authorised to make this call": curl -v -H 'Authentication: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' -H 'Authorization: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' 'localhost:4567/api/search?term=restless&in=categories&uid=1'

    interestingly without the 'in=categories' it return 200 but no search results: curl -v -H 'Authentication: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' -H 'Authorization: Bearer 053b0157-04b4-4bfa-b502-211be5a61e7d' 'localhost:4567/api/search?term=restless&uid=1'

    So what's the correct way to use the search api? and why does it require a token at all? Is it possible to open the search api for non authenticated users and then search just the public categories?

  • 0 Votes
    2 Posts
    I do not believe the mobile header is configurable out of the box, just the left-hand menu. You can enable search for guests from ACP > Manage > Privileges (global)
  • 0 Votes
    2 Posts

    @KitsuneSolar nodebb-plugin-dbsearch does not support In-Topic searching. You will have to use nodebb-plugin-solr

  • Errors Search and Email

    Technical Support
    0 Votes
    6 Posts

    @pichalite said:

    @Defaultuser do you have the plugin nodebb-plugin-dbsearch activated?

    I believe links to email confirmation expire after certain time (need to confirm). Create a new user and try to verify it right away.

    I activated the search plugin. It works.

    I made a test account and still get that error. Also my admin account gets this error. I sent receive the email as soon as I login and the pop up asking to confirm it.

    *Edit trying to replace the nodebb logo in settings ends up have my logo and nodebb, where is the is the nodebb logo so I can replace it?

  • 0 Votes
    4 Posts

    @Kowlin Hey, thank you for your time in response, and for sure i have done my research on this amazing software forum, i agree it is one of a kind 🙂
    i have VPS server,
    you know anyone that can possibly help ?