Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Indexing succeeds, searching give no results #109

Open
rvreugde opened this issue Dec 14, 2020 · 14 comments
Open

Indexing succeeds, searching give no results #109

rvreugde opened this issue Dec 14, 2020 · 14 comments

Comments

@rvreugde
Copy link

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):
image

But, when I want to search, it gives no result!
image

Can somebody help?

Regards,
Raf

@janousek
Copy link

Maybe related to #107

@jraack
Copy link

jraack commented Feb 25, 2021

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?

@rhukster
Copy link
Member

Can someone provide a zip of a test site so we can try to reproduce this?

@kees-closed
Copy link

kees-closed commented Feb 25, 2021

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.

@rhukster
Copy link
Member

I will investigate this and get a release out.

@rhukster
Copy link
Member

Please try again with 3.3.1 (when it shows up in GPM)

@kees-closed
Copy link

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?

@jraack
Copy link

jraack commented Feb 27, 2021

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.

@jraack
Copy link

jraack commented Mar 15, 2021

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.

@jraack
Copy link

jraack commented Mar 17, 2021

@rhukster Nevermind this issue. It was not installing the tntsearch plugin, and i was indexing before it was completed.
So it has been fixed.

@jraack
Copy link

jraack commented Mar 17, 2021

unfortunately when i try to re-index it gives me an error
Invalid resource theme://

Any suggestions?

@rhukster
Copy link
Member

What version of Grav / TNTSearch and PHP?

@jraack
Copy link

jraack commented Mar 18, 2021

PHP7.4 (apache), TNTSearch latest 3.3.1, Grav latest

@darrenhollick
Copy link

darrenhollick commented Jan 27, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants