Rebuilding Elasticsearch Index

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
Grunt
Posts: 17
Joined: Fri May 27, 2022 2:29 pm

Rebuilding Elasticsearch Index

Post by Grunt »

I needed to delete the existing Elasticsearch index and now I need to rebuild it. I've recreated the index in Elasticsearch and when I go to Configuration>Elasticsearch configuration, it displays Documents as 0 and a storage size. However, I can't figure out how to get existing FAQs to be loaded back into the Elasticsearch index.
Thorsten
Posts: 15373
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Rebuilding Elasticsearch Index

Post by Thorsten »

Hi,

don't you see the 3 Buttons:
Bildschirmfoto 2022-06-11 um 13.42.52.png
bye
Thorsten
You do not have the required permissions to view the files attached to this post.
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Grunt
Posts: 17
Joined: Fri May 27, 2022 2:29 pm

Re: Rebuilding Elasticsearch Index

Post by Grunt »

Yes, I see all of that. Documents shows 0 and size is 255. Create Index, Full Import, and Drop Index don't seem to do anything. This is with phpMyFAQ running on IIS, Elasticsearch on the same box, and MySQL for the DB running on a remote server.
Thorsten
Posts: 15373
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Rebuilding Elasticsearch Index

Post by Thorsten »

Hi,

do you see any errors?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Grunt
Posts: 17
Joined: Fri May 27, 2022 2:29 pm

Re: Rebuilding Elasticsearch Index

Post by Grunt »

I guess it just takes time. I came back to this today and they're all in the index.
Thorsten
Posts: 15373
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Rebuilding Elasticsearch Index

Post by Thorsten »

Hi,

yes, depends on the number of FAQs. For the upcoming v3.2 release I added a polling functionality to check if Elasticsearch is already done with indexing.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply