grav-plugin-tntsearch
grav-plugin-tntsearch copied to clipboard
Indexing succeeds, searching give no results
Hello,
I am using the TNTSearch plugin (v3.3.0) with my Grav site (v1.6.30) but I encounter a problem. The site is running on Apache/PHP on a CentOS 8.2 server.
Indexing succeeds, without a (visible) problem (via admin page or cli):
But, when I want to search, it gives no result!
Can somebody help?
Regards, Raf
Maybe related to https://github.com/trilbymedia/grav-plugin-tntsearch/issues/107
Hi, i am still facing this issue. Grav is running with the official grav docker image, somehow it gives 0 results; tntsearch index via cli works. Any ideas?
Can someone provide a zip of a test site so we can try to reproduce this?
Can someone provide a zip of a test site so we can try to reproduce this?
I believe this is already fixed in this commit, but a new release hasn't been prepared yet.
Manually updating that file with that change fixes the tnt-search queries instantly.
I will investigate this and get a release out.
Please try again with 3.3.1 (when it shows up in GPM)
Please try again with 3.3.1 (when it shows up in GPM)
It still works here after updating the plugin. Perhaps @jraack can give it a go as well?
Hi, Thanks for your replies.
I have updated tntsearch, by running the Docker image i dont get results, on a local test, running via php -S it works after re-indexing.
in docker RUN cd /var/www/html/ && php bin/plugin tntsearch index
Is there an additional config needed for the docker image to run tntsearch? Maybe write access?
The update of tntsearch works as you suggested, only thing is i get 0 results.
I still don't get results when i run the grav instance and plugin tntsearch on the Docker Image. Any ideas? In docker i get a completed indexing. Really weird.
@rhukster Nevermind this issue. It was not installing the tntsearch plugin, and i was indexing before it was completed. So it has been fixed.
unfortunately when i try to re-index it gives me an error Invalid resource theme://
Any suggestions?
What version of Grav / TNTSearch and PHP?
PHP7.4 (apache), TNTSearch latest 3.3.1, Grav latest
I'm still having this issue Indexing succeeds and shows it's indexed all my pages. I don't see any errors but there are no results. Grav 1.7.38 TNTSearch 3.3.1 PHP 7.4.13 (IIS)