Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

When importing huge volume of data into Q2A how can build search?

+1 vote
asked Jun 25, 2017 in Q2A Core by Kappagantula Aditya
I am trying to important an old forum into Q2A.

I have successfully classified my content as Q,A,C.

However, the Search plugin doesn't work, because, my qa_words, qa_contentwords tables are empty.

Is there a way to effectively fill these tables?
Q2A version: 1.7.4

1 Answer

+3 votes
answered Jun 25, 2017 by pupi1985

Go to admin/stats and press the "Reindex content" button.

commented Jun 25, 2017 by Kappagantula Aditya
Thanks for the update. Since I have a huge volume, when I do this operation through the admin interface, my browser dies after some time.
Is there a backend script or sql logic that can help me re-index the content?
commented Jun 25, 2017 by pupi1985
If your browser "dies" then there is an issue either with your browser, with your server or with your internet connection. Q2A can handle any amount of data successfully.

As far as I know, there is no browser-less script to reindex content. You can be the first to write it. This should be your starting point: https://github.com/q2a/question2answer/blob/v1.7.4/qa-include/pages/admin/admin-stats.php#L216