وردپرس

Set maximum search time | WordPress.org


Hi Team,

Could you please advise if there’s a way to set a maximum search time before either returning the most relevant results (this would be ideal) or simply returning no results (this would be acceptable)? I’m running into an issue whereby if I search for a word that has NO results or TOO MANY results, the site keeps spinning and/or returns a 500 error. I’ve tried several different Settings permutations (including disabling/enabling the following: seamless integration, mySQL FULLTEXT, BOOLEAN mode, etc.), but no combination works. Is there a way for me to tell the plugin that after, say, 30 seconds of searching all post types, to just stop, and either return no results or just the ones that were far found so far (and simply stop searching the rest of the site)?

Thanks very much in advance!

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا