<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged search</title>
<link>https://www.question2answer.org/qa/tag/search</link>
<description>Powered by Question2Answer</description>
<item>
<title>[NEW PLUGIN] Google Search Index Accelerator Plugin for Q2A</title>
<link>https://www.question2answer.org/qa/121806/new-plugin-google-search-index-accelerator-plugin-for-q2a</link>
<description>

&lt;p&gt;I worked on a new plugin at the request of someone here. The plugin Google Search Index Accelerator instantly notify Google when new content is published on your Q2A site.
&lt;br&gt;This plugin leverages Google's Indexing API to accelerate crawling and indexing, helping your questions and answers appear in search results faster.&lt;/p&gt;

&lt;p&gt;&amp;nbsp;&lt;/p&gt;

&lt;h2&gt;Prerequisites&lt;/h2&gt;

&lt;div&gt;Before installing the plugin, several steps must be completed in Google Search Console and Google Cloud Platform:&lt;/div&gt;

&lt;p&gt;- Create a &lt;strong&gt;Google Cloud Project&lt;/strong&gt; via the Google Cloud Console
&lt;br&gt;- Enable the Indexing API through APIs &amp;amp; Services &amp;gt; Library
&lt;br&gt;- Create a &lt;strong&gt;Service Account&lt;/strong&gt; under APIs &amp;amp; Services &amp;gt; Credentials
&lt;br&gt;- Add the service account email as a &lt;strong&gt;property owner&lt;/strong&gt; in Google Search Console with Owner permissions
&lt;br&gt;- Download the service account's &lt;strong&gt;JSON key file&lt;/strong&gt; for authentication
&lt;br&gt;&amp;nbsp;&lt;/p&gt;

&lt;h2&gt;Installation Process&lt;/h2&gt;

&lt;div&gt;The plugin installation involves four main steps:&lt;/div&gt;

&lt;p&gt;1. Install&lt;strong&gt; Google API Client for PHP&lt;/strong&gt; using Composer to your QA plugin directory
&lt;br&gt;2. Clone&lt;strong&gt; the Plugin Repository&lt;/strong&gt; into your Q2A `qa-plugin` directory
&lt;br&gt;3. Add&lt;strong&gt; Service Account Key&lt;/strong&gt;&amp;nbsp;to the &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/SiroDevs/q2a-gsi-accelerator&quot;&gt;qa-gsi-accelerator&lt;/a&gt; plugin directory
&lt;br&gt;4. Enable the Plugin through your Q2A admin panel
&lt;br&gt;&amp;nbsp;&lt;/p&gt;

&lt;div&gt;This plugin is a premium plugin at &lt;strong&gt;$ 49 &lt;/strong&gt;for those interested in having it. You are welcome to try it out before you can make a purchase. Simply reach out via:
&lt;br&gt;1. Telegram: &lt;a rel=&quot;nofollow&quot; href=&quot;http://t.me/sirodevs&quot;&gt;@sirodevs&lt;/a&gt;
&lt;br&gt;2. Email: &lt;a rel=&quot;nofollow&quot; href=&quot;mailto:sirodevske@gmail.com&quot;&gt;sirodevske [at] gmail [dot] com&lt;/a&gt;&lt;/div&gt;

&lt;div&gt;&lt;/div&gt;

&lt;p&gt;&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/121806/new-plugin-google-search-index-accelerator-plugin-for-q2a</guid>
<pubDate>Sat, 14 Feb 2026 08:53:15 +0000</pubDate>
</item>
<item>
<title>403 Error when user tries to login/register after searching</title>
<link>https://www.question2answer.org/qa/115326/403-error-when-user-tries-to-login-register-after-searching</link>
<description>When a logged out user searches and gets search results and tries to login or register from the search results page they get a 403 error.&lt;br /&gt;
&lt;br /&gt;
For example if a user visits &lt;a href=&quot;https://example.com&quot; rel=&quot;nofollow&quot;&gt;https://example.com&lt;/a&gt; a Q2A site then searches for the term, &amp;quot;equations&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
The user then tries to login from that results page and they will be redirected to &lt;a href=&quot;https://example.com/login?to=search%3Fq%3Dequations&quot; rel=&quot;nofollow&quot;&gt;https://example.com/login?to=search%3Fq%3Dequations&lt;/a&gt; which gives a 403 error&lt;br /&gt;
&lt;br /&gt;
Is this a bug or are there some permissions I should enable? &lt;br /&gt;
&lt;br /&gt;
Thanks.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/115326/403-error-when-user-tries-to-login-register-after-searching</guid>
<pubDate>Sat, 02 Nov 2024 01:33:33 +0000</pubDate>
</item>
<item>
<title>Category based search on q2a when users search a query. Result will show with selected category</title>
<link>https://www.question2answer.org/qa/114592/category-based-search-users-search-result-selected-category</link>
<description>

&lt;p&gt;Category based search on q2a when users search a query. Result will show with &lt;a rel=&quot;nofollow&quot; href=&quot;https://Banglaanswers.com/1&quot;&gt;&lt;span style=&quot;color:#2c3e50&quot;&gt;selected&lt;/span&gt;&lt;/a&gt; category. is any plugins available like this?
&lt;br&gt;
&lt;br&gt;Or anyone create plugin like this?&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/114592/category-based-search-users-search-result-selected-category</guid>
<pubDate>Thu, 22 Aug 2024 10:09:11 +0000</pubDate>
</item>
<item>
<title>New Plugin: Category Search</title>
<link>https://www.question2answer.org/qa/113336/new-plugin-category-search</link>
<description>

&lt;p&gt;I've developed a new plugin that allows users to search for questions within specific categories. You can download it &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/Lin3141/qa-category-search&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you encounter any bugs, please report them in the issues section. I'll look into solving them as soon as I can.&lt;/p&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/113336/new-plugin-category-search</guid>
<pubDate>Thu, 25 Apr 2024 19:23:44 +0000</pubDate>
</item>
<item>
<title>Can I make a category that don't appear in the search and first page?</title>
<link>https://www.question2answer.org/qa/113198/can-make-category-that-dont-appear-the-search-and-first-page</link>
<description>Hi&lt;br /&gt;
&lt;br /&gt;
I have q2a site where experts answer the questions&lt;br /&gt;
&lt;br /&gt;
I am facing a problem with repeated questions, and until now I have been deleting the repeated questions after sending the owner the link to the question we have, but in order to preserve the questioner’s archive of his questions, it occurred to me to add a category that will not appear in the search or appear on the home page and will only appear in the user’s questions and in Classification nothing more&lt;br /&gt;
&lt;br /&gt;
Can you help me with this matter?</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/113198/can-make-category-that-dont-appear-the-search-and-first-page</guid>
<pubDate>Sun, 14 Apr 2024 23:46:59 +0000</pubDate>
</item>
<item>
<title>[Free Plugin] AI Voice Commander</title>
<link>https://www.question2answer.org/qa/112791/free-plugin-ai-voice-commander</link>
<description>

&lt;p&gt;&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://rxchun.github.io/shop/voice-commander/?ref=q2a-voice-commander-post&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://i.ibb.co/DV2YZf7/z897228.png&quot; style=&quot;width:100%&quot;&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;&lt;strong&gt;Free Download -&amp;nbsp;&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://github.com/rxchun/q2a-voice-commander&quot;&gt;GitHub&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;h2&gt;&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://www.youtube.com/watch?v=Ecqnp_44Weg&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://i.ibb.co/tJDbS2Y/z897229.png&quot; style=&quot;float:left; margin-left:20px; margin-right:20px; width:50%&quot;&gt;&lt;/a&gt; Look Ma! No Hands!!&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Voice Commander&lt;/strong&gt; is a &lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://i.ibb.co/hZ3MKbv/01-03-02-general-vs-narrow.jpg&quot;&gt;&lt;strong&gt;Narrow AI&lt;/strong&gt;&lt;/a&gt; plugin that allows you to Search, Navigate and interact with your Q2A website trough voice commands.&lt;/p&gt;

&lt;p&gt;
&lt;br&gt;This plugin uses HTML5 &lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition&quot;&gt;Speech Recognition&lt;/a&gt; and &lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://www.talater.com/annyang/&quot;&gt;Annyang&lt;/a&gt;, in order to convert matching words into voice commands.
&lt;br&gt;
&lt;br&gt;The plugin is fully translatable, with the ability to add customized responses.
&lt;br&gt;Check out this list of &lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://rxchun.github.io/shop/voice-commander/?ref=q2a-voice-commander-post#supported-languages&quot;&gt;supported languages&lt;/a&gt;.&lt;/p&gt;

&lt;hr&gt;

&lt;h2&gt;Navigation&amp;nbsp;&lt;/h2&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://i.ibb.co/pyHjPfG/z897225.png&quot; style=&quot;float:right; margin-left:20px; margin-right:20px; width:45%&quot;&gt;&lt;span style=&quot;font-size:14px&quot;&gt;Use commands such as: &lt;strong&gt;Search for [something]&lt;/strong&gt;, &lt;strong&gt;Go to homepage&lt;/strong&gt;, &lt;strong&gt;Go to questions&lt;/strong&gt;, &lt;strong&gt;Go to tags&lt;/strong&gt;, etc to open main navigation links.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:14px&quot;&gt;While&amp;nbsp;viewing&amp;nbsp;question lists, you can say: &lt;strong&gt;Open the nth question&lt;/strong&gt; (1st/2nd/...), which is pretty much self explanatory.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;/p&gt;

&lt;h2&gt;&lt;img alt=&quot;&quot; src=&quot;https://i.ibb.co/Sxfn1RM/z897226.png&quot; style=&quot;float:left; margin-left:20px; margin-right:20px; width:45%&quot;&gt;Interactivity&lt;/h2&gt;

&lt;p&gt;&lt;span style=&quot;font-size:14px&quot;&gt;You can create/ask questions using&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size:14px&quot;&gt;only&lt;/span&gt;&lt;span style=&quot;font-size:14px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size:14px&quot;&gt;your voice: &lt;/span&gt;&lt;strong&gt;Set title&lt;/strong&gt;&lt;span style=&quot;font-size:14px&quot;&gt;, &lt;/span&gt;&lt;strong&gt;Set body&lt;/strong&gt;&lt;span style=&quot;font-size:14px&quot;&gt;, &lt;/span&gt;&lt;strong&gt;Set tags&lt;/strong&gt;&lt;span style=&quot;font-size:14px&quot;&gt;. Once you're happy with your input, you can say: &lt;/span&gt;&lt;strong&gt;Send&lt;/strong&gt;&lt;span style=&quot;font-size:14px&quot;&gt; or &lt;/span&gt;&lt;strong&gt;Submit&lt;/strong&gt;&lt;span style=&quot;font-size:14px&quot;&gt;.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:14px&quot;&gt;You can also use commands such as: &lt;strong&gt;Scroll up/down&lt;/strong&gt;, &lt;strong&gt;Scroll to answers&lt;/strong&gt;, &lt;strong&gt;Answer question&lt;/strong&gt;, &lt;strong&gt;Comment&lt;/strong&gt; or &lt;strong&gt;Do comment&lt;/strong&gt;, and much more...&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;hr&gt;

&lt;p&gt;&lt;span style=&quot;color:#c0392b&quot;&gt;As of now, Voice Commander is only fully compatible with &lt;strong&gt;Google Chrome,&lt;/strong&gt; and websites that use&amp;nbsp;HTTPS protocols.&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#c0392b&quot;&gt;To avoid missing functionalities from partially supported browsers, a message will appear for those browsers, suggesting to use Chrome.&lt;/span&gt;&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;&lt;strong&gt;&lt;span style=&quot;color:#000000&quot;&gt;Free Download&lt;/span&gt; - &lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://github.com/rxchun/q2a-voice-commander&quot;&gt;GitHub&lt;/a&gt;&amp;nbsp;&lt;a target=&quot;_blank&quot; rel=&quot;nofollow&quot; href=&quot;https://www.paypal.com/paypalme/chun128&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=12659997434865277380&quot; style=&quot;float:right; height:60px; width:213px&quot;&gt;&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;/blockquote&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/112791/free-plugin-ai-voice-commander</guid>
<pubDate>Thu, 14 Mar 2024 10:41:27 +0000</pubDate>
</item>
<item>
<title>How to remove &quot;+&quot; in search results</title>
<link>https://www.question2answer.org/qa/112521/how-to-remove-in-search-results</link>
<description>

&lt;p&gt;I realized that when users enter text and search on my website the search result heading is displayed with a &quot;&lt;strong&gt;+&lt;/strong&gt;&quot; in between the spaces.&lt;/p&gt;

&lt;p&gt;For example if someone searches for &quot;What is Facebook opengraph&quot;&lt;/p&gt;

&lt;p&gt;The result will come as: &quot;What&lt;strong&gt;+&lt;/strong&gt;is&lt;strong&gt;+&lt;/strong&gt;facebook&lt;strong&gt;+&lt;/strong&gt;opengraph&quot;. Searching for &quot;Open graph&quot; will return as &quot;Open&lt;strong&gt;+&lt;/strong&gt;graph&quot;.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;If someone searches for a single word with space at the end, the space is returned as a &quot;+&quot;. For example searching for &quot;bookshop&quot; returns &quot;bookshop&quot; in heading whereas searching for &quot;bookshop &quot; (notice the space after word) returns as &quot;bookshop+&quot;.&lt;/p&gt;

&lt;p&gt;&lt;/p&gt;

&lt;p&gt;How do I remove the &quot;&lt;strong&gt;+&lt;/strong&gt;&quot; that replaces the spaces between words?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/112521/how-to-remove-in-search-results</guid>
<pubDate>Thu, 22 Feb 2024 05:16:21 +0000</pubDate>
</item>
<item>
<title>Why do questions disappear after archiving?</title>
<link>https://www.question2answer.org/qa/108316/why-do-questions-disappear-after-archiving</link>
<description>I have a website and I publish questions, but the questions are archived for two hours, then they disappear from the search results. When I check the link in Google Search Console, I find it indexed, but it does not appear in the search results.</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/108316/why-do-questions-disappear-after-archiving</guid>
<pubDate>Sun, 28 May 2023 20:45:17 +0000</pubDate>
</item>
<item>
<title>how can I disable search function in my website based on q2a script 1.86?</title>
<link>https://www.question2answer.org/qa/107165/how-can-disable-search-function-in-website-based-q2a-script</link>
<description>As many hackers are making large number of search queries on my website and the search results are successfully indexed in google search console, I need to disable search function.&lt;br /&gt;
&lt;br /&gt;
I have blocked all ip ranges as well as remove search button from the website, but it is still happening by hackers.&lt;br /&gt;
&lt;br /&gt;
Please help.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/107165/how-can-disable-search-function-in-website-based-q2a-script</guid>
<pubDate>Sat, 08 Apr 2023 14:46:00 +0000</pubDate>
</item>
<item>
<title>problem in google search console // manual procedures: One problem was identified (1).</title>
<link>https://www.question2answer.org/qa/104712/problem-google-search-console-procedures-problem-identified</link>
<description>

&lt;p style=&quot;text-align:left&quot;&gt;I have a problem that my website is now delayed in archiving on Google search console, the reason here is that there is a problem that appeared in the content, but Google did not specify where the problem is exactly, I am confused as to where to start repairing or what to fix, is there any Solution ? Or has any of you encountered this problem?&lt;/p&gt;

&lt;p style=&quot;text-align:left&quot;&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=1832515194646337578&quot; style=&quot;height:167px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/104712/problem-google-search-console-procedures-problem-identified</guid>
<pubDate>Mon, 14 Nov 2022 11:22:35 +0000</pubDate>
</item>
<item>
<title>Search results disappear many sites used q2a script</title>
<link>https://www.question2answer.org/qa/104671/search-results-disappear-many-sites-used-q2a-script</link>
<description>Is there an update from Google targeting sites q2a&lt;br /&gt;
&lt;br /&gt;
As I noticed a big drop in visitors and noticed the disappearance of my site when searching for its name, this happened hours ago&lt;br /&gt;
&lt;br /&gt;
Many websites use the script</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/104671/search-results-disappear-many-sites-used-q2a-script</guid>
<pubDate>Sun, 13 Nov 2022 04:53:43 +0000</pubDate>
</item>
<item>
<title>Is there any way to make the &quot;Similar questions&quot; box appear when i type some letters instead of full word in ASK page?</title>
<link>https://www.question2answer.org/qa/103294/there-similar-questions-appear-letters-instead-full-word-page</link>
<description>Hi Fellows. As per my question title i want to make the similar questions appear if any of letters i type in the question title is included in a similar question title.&lt;br /&gt;
As it is now if i type &amp;quot;Microsoft&amp;quot; then displays all the similar questions that contain the word &amp;quot;Microsoft&amp;quot; in their title.&lt;br /&gt;
What i want is to display all the similar questions even if i type &amp;quot;Mic&amp;quot; or &amp;quot;Micr&amp;quot; or &amp;quot;Micro&amp;quot; etc.</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/103294/there-similar-questions-appear-letters-instead-full-word-page</guid>
<pubDate>Sat, 03 Sep 2022 11:47:01 +0000</pubDate>
</item>
<item>
<title>I am looking for live search plugin</title>
<link>https://www.question2answer.org/qa/103157/i-am-looking-for-live-search-plugin</link>
<description>I am looking for this plugin:&lt;br /&gt;
&lt;a href=&quot;https://www.question2answer.org/qa/49871/plugin-live-search-plugin-for-q2a&quot; rel=&quot;nofollow&quot;&gt;https://www.question2answer.org/qa/49871/plugin-live-search-plugin-for-q2a&lt;/a&gt;&lt;br /&gt;
Does anybody knows how and where I can buy it ?&lt;br /&gt;
&lt;br /&gt;
Thanks</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/103157/i-am-looking-for-live-search-plugin</guid>
<pubDate>Sat, 27 Aug 2022 12:38:28 +0000</pubDate>
</item>
<item>
<title>Search terms are being merged despite the fact that I searched them on different sites</title>
<link>https://www.question2answer.org/qa/102020/search-terms-being-merged-despite-searched-different-sites</link>
<description>

&lt;p&gt;I have encountered a search issue which causes the terms to merge with other q2a sites.&lt;/p&gt;

&lt;p&gt;Have a look at this,&lt;/p&gt;

&lt;p&gt;I have first searched for the term&amp;nbsp;&lt;strong&gt;Blobs&lt;/strong&gt;&amp;nbsp;on this site.&lt;/p&gt;

&lt;p&gt;Later on when I went to search for&amp;nbsp;&lt;strong&gt;Partition&amp;nbsp;&lt;/strong&gt;on systemrequest.net (which was build with&amp;nbsp;q2a), i found that the term&amp;nbsp;&lt;strong&gt;Blobs&lt;/strong&gt;&amp;nbsp;is also shown in the search list though I haven't searched for the term on the site.&lt;/p&gt;

&lt;p&gt;And then when I return back to Q2A, I find both the terms: the one I&amp;nbsp;searched on q2a and systemrequest being listed here too.&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=2170143613453135923&quot; style=&quot;height:357px; width:300px&quot;&gt;&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=8327606426541980532&quot; style=&quot;height:302px; width:300px&quot;&gt;&lt;/p&gt;

&lt;p&gt;Is there something to do with the cookies?&lt;/p&gt;

&lt;p&gt;Ansgar, Have you noticed this before?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/102020/search-terms-being-merged-despite-searched-different-sites</guid>
<pubDate>Sat, 25 Jun 2022 04:31:16 +0000</pubDate>
</item>
<item>
<title>How do I search for users</title>
<link>https://www.question2answer.org/qa/100816/how-do-i-search-for-users</link>
<description>When I use the search input, it searches for questions. However, I need capability to be able to search for users ( as well as tags, categories etc. but basically users ).</description>
<category>Themes</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/100816/how-do-i-search-for-users</guid>
<pubDate>Mon, 18 Apr 2022 10:33:45 +0000</pubDate>
</item>
<item>
<title>Want to make a plugin which will unindex all the hidden posts from search module</title>
<link>https://www.question2answer.org/qa/100098/want-make-plugin-which-will-unindex-hidden-posts-search-module</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have hidden all the unwanted content directly through a MySQL query in the database which was generated for testing purposes. &lt;br /&gt;
&lt;br /&gt;
But the content is still available through search.&lt;br /&gt;
&lt;br /&gt;
So I want to make a plugin that will unindex all the hidden posts from search.&lt;br /&gt;
&lt;br /&gt;
Please help from where I can start.&lt;br /&gt;
&lt;br /&gt;
Thank you!</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/100098/want-make-plugin-which-will-unindex-hidden-posts-search-module</guid>
<pubDate>Thu, 10 Mar 2022 05:18:16 +0000</pubDate>
</item>
<item>
<title>How to optimize this code for search module, Q2A Core</title>
<link>https://www.question2answer.org/qa/99208/how-to-optimize-this-code-for-search-module-q2a-core</link>
<description>

&lt;p&gt;For search module this function is triggered whenever user searches on q2a website:&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-entity); font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;qa_get_search_results&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;query&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;start&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;count&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;userid&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;absoluteurls&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;fullcontent&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;)&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&lt;strong&gt;Inside the above function the two main DB events occurs as shown below:&lt;/strong&gt;&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-entity); font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;qa_get_search_results&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;query&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;start&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;count&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;userid&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;absoluteurls&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;, &lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;&lt;span style=&quot;color:var(--color-prettylights-syntax-constant)&quot;&gt;$&lt;/span&gt;fullcontent&lt;/span&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;{&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;font-size:16px&quot;&gt;&lt;u&gt;&lt;strong&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace&quot;&gt;I&lt;sup&gt;st&lt;/sup&gt; DB Event:&lt;/span&gt;&lt;/strong&gt;&lt;/u&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace&quot;&gt;&lt;span style=&quot;font-size:12px&quot;&gt;// Get the results&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace&quot;&gt;&lt;span style=&quot;font-size:12px&quot;&gt;$results = $module-&amp;gt;process_search($query, $start, $count, $userid, $absoluteurls, $fullcontent);&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace&quot;&gt;&lt;span style=&quot;font-size:16px&quot;&gt;&lt;u&gt;2nd DB Event:&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-size:12px&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace&quot;&gt;&lt;span style=&quot;font-size:12px&quot;&gt;// Perform the appropriate database queries&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace&quot;&gt;&lt;span style=&quot;font-size:12px&quot;&gt;list($postidfull, $postidtype, $postidquestion, $pageidpage) = qa_db_select_with_pending(&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace&quot;&gt;&lt;span style=&quot;font-size:12px&quot;&gt;count($keypostidgetfull) ? qa_db_posts_selectspec($userid, array_keys($keypostidgetfull), $fullcontent) : null,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace&quot;&gt;&lt;span style=&quot;font-size:12px&quot;&gt;count($keypostidgettype) ? qa_db_posts_basetype_selectspec(array_keys($keypostidgettype)) : null,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace&quot;&gt;&lt;span style=&quot;font-size:12px&quot;&gt;count($keypostidgetquestion) ? qa_db_posts_to_qs_selectspec($userid, array_keys($keypostidgetquestion), $fullcontent) : null,&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace&quot;&gt;&lt;span style=&quot;font-size:12px&quot;&gt;count($keypageidgetpage) ? qa_db_pages_selectspec(null, array_keys($keypageidgetpage)) : null );&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=&quot;color:#24292f; font-family:ui-monospace,SFMono-Regular,&amp;quot;SF Mono&amp;quot;,Menlo,Consolas,&amp;quot;Liberation Mono&amp;quot;,monospace; font-size:12px&quot;&gt;}&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I am already handling 1st DB event using elastic search, so there is no DB hit in this case and here I saving MYSQL SERVER RESOURCES.&lt;/p&gt;

&lt;p&gt;But still, in the 2nd DB Event, there are a lot of conditions applied in database queries which are creating a lot of DB connections if more users started searching on-site which leads to high CPU resource consumption and make the process too slow.&lt;/p&gt;

&lt;p&gt;Please help me with how can I optimize in the 2nd DB Event.&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/99208/how-to-optimize-this-code-for-search-module-q2a-core</guid>
<pubDate>Sat, 22 Jan 2022 10:39:51 +0000</pubDate>
</item>
<item>
<title>How to show questions selected by a custom sql query?</title>
<link>https://www.question2answer.org/qa/98881/how-to-show-questions-selected-by-a-custom-sql-query</link>
<description>

&lt;p&gt;I am building a search plugin which should show some results.
&lt;br&gt;I am having a custom mysql query. Which returns certain post of type 'Q' . How I can show those posts as questions. I am unable to make
&lt;br&gt;$posts into&amp;nbsp;$questions object. Which I can use it here.&lt;/p&gt;

&lt;p&gt;&lt;img alt=&quot;&quot; src=&quot;https://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=8829518323479492791&quot; style=&quot;height:203px; width:600px&quot;&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/98881/how-to-show-questions-selected-by-a-custom-sql-query</guid>
<pubDate>Thu, 06 Jan 2022 04:51:26 +0000</pubDate>
</item>
<item>
<title>Basic search plugin is still searching</title>
<link>https://www.question2answer.org/qa/98560/basic-search-plugin-is-still-searching</link>
<description>I am designing a plugin for customized search. Basic search is still returning the result . When I delete the basic search file then my plugin works fine.&lt;br /&gt;
What could be the problem?</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/98560/basic-search-plugin-is-still-searching</guid>
<pubDate>Fri, 24 Dec 2021 07:42:14 +0000</pubDate>
</item>
<item>
<title>q2a Searching don't work good at all</title>
<link>https://www.question2answer.org/qa/97366/q2a-searching-dont-work-good-at-all</link>
<description>Hey guys&lt;br /&gt;
&lt;br /&gt;
I have lots of &amp;nbsp;questions on my q2a. but search part shows irrelevant questions. I guess maybe it's coz q2a searching, search in answers too. but I want it just search in question titles.&lt;br /&gt;
&lt;br /&gt;
what should I do?!</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/97366/q2a-searching-dont-work-good-at-all</guid>
<pubDate>Sun, 07 Nov 2021 19:51:10 +0000</pubDate>
</item>
</channel>
</rss>