Reply To: custom search filter

Ernest Marcinko
Ernest Marcinko

I will try to explain why it’s working like that:
The limit for post types is set to 10. When searching for “FD” it returns over 10 more relevant results for the articles than the companies so those are displayed. The limit applies to all post types in overall, not separately, as they are stored in the same database table. The more relevant items are displayed first, regardless of the post type. (the results count is not distributed evenly by post type, it’s not possible by a single query)

I’ve noted this as a possible feature in the next release, as it would be very useful. Of course I will have to investigate first how a solution would affect the overall performance.

Ernest Marcinko

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