Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › custom search filter › Reply To: custom search filter
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.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
![](https://wp-dreams.com/assets/envato/comment-button-knowledgebase.png)
![](https://wp-dreams.com/assets/envato/comment-button-support.png)
![](https://wp-dreams.com/assets/envato/comment-button-facebook.png)
![](https://wp-dreams.com/assets/envato/comment-button-twitter.png)