Reply To: Maximum keyword length, and trigger normal search on settings change

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Maximum keyword length, and trigger normal search on settings change Reply To: Maximum keyword length, and trigger normal search on settings change

#15327
ozzymuppet
ozzymuppet
Participant

#1 Increasing keyword length from 50 to 180 maximum
The above suggestion sort-of works, except I had to change VAR(255) to VAR(190) as 255 gave a too big (bytes?) error.

Thing is, the full term isn’t found, but strangely it works if I remove everything after the ? in the URL.

Eg. Doesn’t work (actual term indexed): https://www.banggood.com/OnePlus-5-5_5-inch-6GB-RAM-64GB-ROM-Qualcomm-Snapdragon-835-Octa-Core-4G-Smartphone-p-1159492.html?p=FxxxxxxxxxxxxxxxxIV

Works: https://www.banggood.com/OnePlus-5-5_5-inch-6GB-RAM-64GB-ROM-Qualcomm-Snapdragon-835-Octa-Core-4G-Smartphone-p-1159492.html

#2 Doing a redirection (like when hitting the return button) whenever the user changes an option

The code ALMOST works. It does a search, but searches for nothing (/?s=). There must be something missing, i’ll try figure it out 🙂

  • This reply was modified 6 years, 5 months ago by ozzymuppet ozzymuppet. Reason: added detail
  • This reply was modified 6 years, 5 months ago by ozzymuppet ozzymuppet.
  • This reply was modified 6 years, 5 months ago by ozzymuppet ozzymuppet. Reason: clarified
Attachments:
You must be logged in to view attached files.