- November 13, 2017 at 12:46 pm #15477
I made some test.The plugin looks in html tags for is result.Can you explain me that?
if a have a page with a comment <!– Lecomte –> -> if I search for Lecomte, the page will be listed..
if I have a page with the html tags <h2 align=”center> -> if I search for Lecomte, the page will be listed..
If I have a page with the shortcode [divider_line]) -> if I search for divider_line, the page will be listed..
ect..November 13, 2017 at 1:12 pm #15478November 13, 2017 at 1:12 pm #15483November 13, 2017 at 2:03 pm #15487
It is because WordPress stores HTML data along with post content, and non-executed shortcode content. There is no field that has only the ‘readable’ characters. MySQL (database engine) is however not capable of distinguishing HTML or shortcode text from human readable text, so the query is executed on the content field as if it was all just simple text. There is no way around this, however a possible solution is implemented in the plugin.
The index table engine allows pre-processing all the post contents, executing shortcodes, stripping any HTML etc.. and then storing all this information in a separate table to search queries. This allows better matching by weight and keyword logic across fields as well.
For more information please check:Best,
If you like my products, don't forget to rate them on codecanyon :)
You must be logged in to reply to this topic.