nodebb-plugin-dbsearch wildcardsearch



  • Hello, is a wildcard search not possible? I like to enable Wildcardsearch! I see that it is working in this community forum 🙂


  • Community Rep

    I think this forum is using nodebb-plugin-solr for search.


  • Plugin & Theme Dev

    Yes this forum uses nodebb-plugin-solr. It's better than the default dbsearch plugin but needs additional components installed.



  • Okay, thank you, found it and installed it with "npm install nodebb-plugin-solr"...
    Now i have installed apache solr...It is working...Thank you!


  • Anime Lovers

    @isAG Do you have any step-by-step instructions to share on setting up the apache solr and integration with plugin?



  • Hello @BRUCE LEE

    My Concept is not bullet proof for production, i just setup a lab to test nodebb for our company it is NOT secure, but here you go! I used ubuntu server 16.04 LTS and followed installation steps from github repo of nodebb till i was able to login to nodebb.
    Over npm just install "npm install nodebb-plugin-solr", now you need solr, solr comes from apache, you need java and tomcat + solr.
    ubuntu have a preconfigured tomcat solr in their repo.

    sudo apt-get -y install openjdk-8-jdk
    mkdir /usr/java
    ln -s /usr/lib/jvm/java-8-openjdk-amd64 /usr/java/default
    sudo apt-get -y install solr-tomcat

    now you can access solr over ttp://YOUR_IP:8080/solr
    after that configure nodebb plugin solr like this

    0_1476952626915_upload-8bd64a27-6f09-472d-ba0d-9ad172c6cb1d

    Save it, i think you have to restart nodebb under admin panel many times to see it work.
    At the beginning the indexing is not active, you must enable it, always look on the right side for yellow marked things from my picture:
    0_1476952779446_upload-0f59141c-555f-4762-ad68-069cd29c6a9f

    Also watch on dashboard for notices, it helps:
    0_1476952852347_upload-922325cb-843e-4ef7-ae09-5af53f534011

    Good Luck my Friend!


  • Anime Lovers

    @isAG Many thanks!


Log in to reply
 


Star

Looks like your connection to NodeBB was lost, please wait while we try to reconnect.