Index table results not as relevant as regular engine results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Index table results not as relevant as regular engine results

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 8 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #8402

    Hi, I’ve been testing using the index engine on my staging site and I’ve noticed that the results using the regular engine are much more relevant than the results using the index engine. I made sure any settings as far as what content to search in was exactly the same. For example, we tried searching university, and with the index engine, the first result did not have university anywhere in the title or excerpt. This doesn’t seem right, I can’t figure out if there is a setting somewhere that I am missing.

    One other thing we weren’t sure of is how the search logic relates to single vs plural words. We are trying to figure out the best logic configuration and see how it works with the index table, and currently, it seems like the index table isn’t working right and the search logic doesn’t really work well for single/plural words like university/universities.

    I’d appreciate any help on this matter. Thank you!

    Ernest Marcinko
    Ernest Marcinko


    The main difference between the regular and the index table engine logic-wise is that the index table engine can count the word occurrence and use it with relevance calculations. So if the word “university” occurs many times across some of the fields in that particular post, then it can turn out to be more relevant as something that has “university” in it’s title – depending on the relevance values as well.

    Long story short, I think you want to adjust the Title weight value on the Relevance Options -> Index Table Engine panel:
    I suggest increasing it to “100” and adjusting the other values according to that. For example, if the title weight is set to 100 and the content weight is set to 10, then the phrase must occur roughly 10 or more times in the content of a post to be more relevant as when it occurs in another post in the title.
    It’s not the exact calculation, as it involves other factors as well, but it follows a similar logic.

    Currently there is no relation between single and plural words for three reasons:
    – No reliable library exists to analyze the words and turn them into singular/plural
    – Even if there was, I’m not sure how analyzing would affect the performance, but probably a lot
    – The search query performance would drop because of the increased server overhead
    Not to mention different languages. I’m not sure if I will ever be able to implement a reliable solution (it would be great though) to be honest with you. For these purposes I think the subscription based search plugins (like instant search+) might do a much better job, as they have an independent dedicated server running just for search queries – but of course those require to pay a monthly fee for that.

    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.