Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Speed and priority
This topic contains 14 replies, has 2 voices, and was last updated by Ernest Marcinko 5 years, 2 months ago.
- AuthorPosts
- April 4, 2018 at 10:49 am #17394
Hi
On the home page I setup a Search
• First all the search take to long to show resultsPlease try to Search for … KM5
• How can give priority to this post https://welcometoibiza.com/restaurantes/san-jose/km5-ibiza/ now don’t apear on the resultsAlso if you search fo PACHA
this post should be the first to apear
https://welcometoibiza.com/fiestas-ibiza/discotecas/pacha-ibiza/
https://welcometoibiza.com/restaurantes/ibiza/restaurante-pacha/
How can i solve this ??April 4, 2018 at 1:53 pm #17396Hi!
1. The front-page search is set to look within many post types, within over 40 000 posts and contents. That is a very big amount of data, and the database cannot handle that easily.
I did the following steps to optimize it:
– Generated and enabled the index table engine
– Only enabled the keywords for titles and custom keywords, as there are already 650 000 keywords from these fields, which is enough. With the content and excerpt this would be over 10 million, which is too much in my opinion.Now the search should be almost instant.
2. Using the individual priority options you can do it: Individual Priorities
Look for that post, and set the priority to 101. In that case it will always be displayed as first, if matched.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 4, 2018 at 3:09 pm #17397Thanks ,, i delete 24.000 post that was unused and know works better
April 4, 2018 at 4:57 pm #17398I just try the priority …. Works with more than one word ?’ where search in ?? jut title ??
I want to give same priority to “Restaurants” for ” comer paella ” but only one post with ” comer paella ” in the title apearthanks
April 5, 2018 at 9:18 am #17403Hi!
It looks only within the title as exact matches. You can also try the group priorities if you want to, it allows prioritizing multiple items at once from same categories.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 5, 2018 at 9:34 am #17405Sorry but thats not clear
How can i priority same post for the search “comer paella ” when “Comer Paella” its not on the title of the post
By now only one post apear on the result
thanks
April 6, 2018 at 10:18 am #17423Hi,
You mean it does not show up in the list on the priority options? And if you try to search for the other post title? It should show up then.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 6, 2018 at 11:46 am #17431Hi
I don’t know if you understand me ..
the priority tool works only for ONE WORD on the POST TITLE but .. what about this cases ???1 – GENERAL SEARH ON HOME PAGE ( search in all post and custom post)
https://welcometoibiza.comSearch for ” COMER PAELLA”
The only good result its the first one .. the rest are more just for the word COMER .. not COMER PAELLA
What I need its to show same RESTAURANT that have also “PAELLA” as you can see on the RESTAURANTS SEARCHAlso If you search for paella .. NO RESTAURANT APEAR
– 2 RESTAURANT SEARCH (Only search in RESTAURANT CUSTOM POST)
https://welcometoibiza.com/restaurantes-en-ibiza/
Search for COMER PAELLA .. thats not in any title …I want to set priority on “COMER PAELLA” search to same of this post .. set which post to show first for that particular search
THANKS
-
This reply was modified 5 years, 2 months ago by
Angel Nuñez Gonzalez.
-
This reply was modified 5 years, 2 months ago by
Angel Nuñez Gonzalez.
Attachments:
You must be logged in to view attached files.April 6, 2018 at 11:59 am #17435Hi,
I’m afraid this is not possible. The individual priorities apply on every search phrase, it is not possible to set different prirorities for different search phrases.
For group priorities you can set search phrases, as those work differently, but not for individual priorities.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 6, 2018 at 12:11 pm #17438One again .. you see whats the problem ???
There is any way to SHOW post related with ” COMER PAELLA” when you search for that ???
Worsk on restaurants Search .. why no for all general search ??
thanks
April 6, 2018 at 12:13 pm #17439And there its no way to set priority to same words that are not in the Post title ?
I dont really understant how to use GRUOPS an what for it use ???
thanks-
This reply was modified 5 years, 2 months ago by
Angel Nuñez Gonzalez.
April 6, 2018 at 12:28 pm #17441Hi,
I think I understand now.
The ‘global’ search is only searching the titles via the index table -> remember, I have changed that for a better performance (see my first reply), as there are over 35 000 posts in total, and even the titles generate over 300 000 keywords: https://i.imgur.com/pis982e.png
The restaurant search only looking within the restaurants, which is only ~400 posts, so the content search is also enabled.
I can try to re-create the index table to index the post contents as well, but the keyword count can go over 5+ million easily. It may affect the performance greatly. Do you want me to try that?
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 6, 2018 at 12:52 pm #17442I did the indexing in the meantime, 1.5 million keywords, not that bad after all. The performance is still almost the same, you have a great server.
Now I’m seeing totally different results, based on the content as well: https://i.imgur.com/Dk7bYGD.png
Best,
There are a few restaurants there as well. They might not be the most relevant, but it should be much better than before.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 6, 2018 at 4:18 pm #17443Hi
I dint know you change to index …
i will try the both options to see how works better ..
by noway index its Success. ” 947369 new keywords were added to the database. ” I take of the index the old post ( 1news)And on this point
Da i have any way to give more relevance to same of post it show ????
thanks
April 9, 2018 at 1:35 pm #17454Hi,
You can increase the relevance of certain fields, and also estabilish an order by post type.
– So if you need certain post type results first, you can give an order: https://i.imgur.com/OVHbkcg.png
– and also make have the limit separated between the post types: https://i.imgur.com/kHDNXbR.pngThis configuration is good when you want to prioritize certain post types over others, but also have roughly the same number of results for each post type.
The index table engine calculates the relevance based on how many times the keyword occurs in each field, and that value is also multiplied by the relevance value. By default the titles have the highest relevance.
– You can adjust these as well, here: https://i.imgur.com/VVXkYft.pngTo prioritize a certain post over others, you have the priority options, which I already detailed in my previous post. If you want to prioritize only a few posts, then I recommend using only the individual priority options, that is the easiest, and the most performance friendly.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
-
This reply was modified 5 years, 2 months ago by
- AuthorPosts
You must be logged in to reply to this topic.