Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Fatal error
This topic contains 26 replies, has 2 voices, and was last updated by Angel Nuñez Gonzalez 6 years, 3 months ago.
- AuthorPosts
- November 15, 2016 at 8:29 pm #10874
THANKS FOR YOUR TIME BUT NOT WORKIN AS SUPOST:
1. The order was ok just for a moment … i search for pacha and work ok but now its back to show old post first.
2. And also realize the its using the ” index table Engine” its this right ???’
3. This its the Order and behavior I need in the general searches …if you search for a venue ( pacha , ushuaia, space, violet, )
ALL THE POST IN MAGAZINE ALL THE FIRST ONE in any search THIS IS OK .. I GIVETH PRIORITY but after that
Then has to show the venues ( post type : Fiestas / restaurantes/guia-ibiza)
Second the newest post about the venue ( post type : agenda-ibiza)
EXCLUDE this TAXONOMY ID 691 to all the search
My key words ( the name of the venue) are always on the Title and Excerpt … them on the Relevance options tab I give more relevance to the TITLE and Excerpt and les to the content …Searching for pacha…
now its back to the old post first but for once work and that its wat i saw…First show the venues OK
Second the newest post OK
But now theres another question :
Them why show first those one its only has the PACHA on the content ??? it is just because there are new ???
http://welcometoibiza.com/agenda-ibiza/fiestas/rafa-de-siria-en-la-musa-ibiza-este-viernes/ .. its just on the content withe less relevance ..
http://welcometoibiza.com/buscador-de-restaurantes/ ???? no pacha on the post
http://welcometoibiza.com/guia-de-ibiza/compras/don-kroquet/ The word found its PACHARAN , i just change to AND exact word matches and still there ..In this other cases the order don’t work at all
Search for “violet”
Show first
http://welcometoibiza.com/agenda-ibiza/agenda-ibiza/violeta-galera-expone-en-can-jordi-ibiza/ NoT Exact word ??? and agenda ibiza Post type
http://welcometoibiza.com/agenda-ibiza/agenda-ibiza/violeta-galera-expone-en-can-jordi-ibiza/ Exact Wrod and “Guia-ibiza” Post type which has priority order on the custom post orderSearch USHUAIA os SPACE
Don’t works like pacha.. still showing post b4 the venueAttachments:
You must be logged in to view attached files.November 16, 2016 at 10:17 am #10881Hi,
1. Because now you have the Primary ordering by relevance, not by date:
2. Yes, it is correct.
——
3. It’s not going to work like that as you don’t have the post type group ordering enabled anymore (because you wanted title matching elements first), so the search won’t prioritize any post type over any other.Just to clarify, the ordering is applied as following, from highest priority to lowest:
Post type ordering > Global Priority Options > Primary ordering > Secondary ordering
My recommendation is:
– Enable Post type ordering, and order the post types the way you want them to appear: https://i.imgur.com/pWl3XuY.png
– Set the Primary Ordering to Date descending and Secondary Ordering to Relevance Descending: https://i.imgur.com/Al9pwIS.png
You can experiment with this later, primary relevance might give you better results.
– On the General Options -> Limits panel enable the “Distribute the posts limit between each post type equally?” option and increase the post type limit to at least 36 or 45: https://i.imgur.com/TqJ91YI.pngThis will display equal amount of results from each post type (you have 9 post types selected, so masimum 4 or 5 per post type), ordered by the post type ordering first, then global priority -> primary -> secodary ordering.
This option ensures, that even if there are many more matching elements on one of the post types, still other post type results are considered as well.After reviewing your request, I believe this is the closest configuration to your requirements.
Best,
—-
The word found its PACHARAN , i just change to AND exact word matches and still there ..
Don’t forget, that you have a secondary keyword logic “OR” enabled: https://i.imgur.com/kSI5cv1.png
If you only want the strict matches, you should turn it off.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 16, 2016 at 2:25 pm #10901HI It was working was I need for once ..
I try what you say but don’t work as i need.
I change the configuration to what you told me the other day and works for pacha.
NOTE: Works finde with a ” regular engine” but show a error code on the header, now its deactivate change to this b4 try. With the index table .. the News are not are ring by date…
•Pacha ( posttype Fiesta) date 2-2016
•Restaurante pacha ( post type Restaurante)
•Destino pacha ( post type guia Ibiza)
• next show lates news about pacha (post type agenda Ibiza) nowBut in rest of the cases ( Space, amnesia, ushuaia, ) with the same rules, post types, etc … do not work like Pacha
•Space had a date of 2008.. I change to 2016 and now works why not take that old date ? I change to 2016 and works
•Privilege tus form 5-2014 and not show .. if i change to 2016 also do not apear uno very low in the results
• Amnesia was 2013 not apear .. now change to 10-2016 and worksFor the rest of search .. ” comer paella” “fontaneria” works
Could you please trun to regular engine and check the error ?? thanksNovember 17, 2016 at 8:06 am #10921Sorry about that, it was my bad, I forgot to turn off the debug mode in Ajax Search Pro. Now it should be fine. I have turned back on the Regular engine as well.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 17, 2016 at 12:48 pm #10923Great …
Just to know : Why works fine with the regular engine and not with a index table ??’ in my case will be better use the index.. isn’t it?Also Why Pacha give result like I need
first post type:
Pacha ( postType fiestas date 2-2016) this has a priority 105.. if y put 100 disappear from the results … Why??
Pacha restaurant ( post Type restaurantes date 3-2016 )
Destino Pacha ( Post Type Guia-ibiza date 10-2014)
second: latest post from agenda-ibizaNow just realize the it missing the “hotel pacha “… Date 4-2016
Also if you search for “hotel pacha” .. appear the 3er position after agenda ibiza post …Why not working like that for Ushuaia ??
show first some agenda ibiza post
then http://welcometoibiza.com/guia-de-ibiza/hoteles/ushuaia-ibiza-beach-hotel/ Guia -Ibiza 9-2016
Them some more Agenda ibiza Post
but not show fiesta or restaurantes
http://welcometoibiza.com/restaurantes-ushuaia-ibiza-beach-hotel-hard-rock-hotel-ibiza/ PAGE 4-2015
http://welcometoibiza.com/fiestas-ibiza/beach-clubs-and-open-air/ushuaia-ibiza-beach-hotel/ ( fiestas) date 7-2016
http://welcometoibiza.com/restaurantes/playa-den-bossa/the-beach-club-ushuaia-ibiza/ Restaurantes date 5-2016Attachments:
You must be logged in to view attached files.November 17, 2016 at 1:50 pm #10926Hi,
The index table would be much better for your case. But it’s not properly configured.
For example, on the search settings panel you have the “news1” post type selected, but on the index table options it is not: https://i.imgur.com/GRlyxfj.png
This means that no results will ever come up from the “news1” custom post type, because it’s not indexed at all.What exactly is wrong with the index table? I have tried a few phrases, but all I can see is much more relevant results for the index table.
“hotel pacha”
Regular: https://i.imgur.com/SP5Cx75.png
Index: https://i.imgur.com/hJ4ESyn.png
The index table results are much more relevant. The ordering is also set to primary relevance, so the results are correct, following the configuration. I’ve looked at the calculations regarding the relevance and keyword occurence, and it was also correct within the code. This follows the configuration as it should. Do you want it differently?show first some agenda ibiza post
Best,
…
Them some more Agenda ibiza Post
but not show fiesta or restaurantes
Of course, because as I suggested earlier, if the post limit distribution is turned off, there is no guarantee that posts from every post type will fit into the limit.
Quote myself, previous post: On the <span class=”code”>General Options -> Limits</span> panel enable the “Distribute the posts limit between each post type equally?” option and increase the post type limit to at least 36 or 45: https://i.imgur.com/TqJ91YI.png
The limit distribution makes sure that the limit is divided between post types and equal fractions are returned (if matches) for each post type.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 21, 2016 at 9:30 pm #10955Hi
General Serch
By now I don’t really understand how its works but using priority i get the results I want in more of cases.1 -Using the regular engine works like I want
using the index table ( thats will be better for me ) the post ( agenda-ibiza) are not in date ordering .. not show first the newest.Restaurantes Serch
1 -For this one I say in the source only to show Restaurantes post type
but show also other post types
Search for ” comer en la playa” show “information util” , ” Marina Botafoch” , “guia de restaurantes”
Search for “restaurantes Románticos” show ” Ciudad amurallada de Dalt Vila”
3 – Sear for ” pastis” how can I do to show only the post ?? not the other tu lines ” todos los restaurantes” “buscador de restaurantes”
4- Search for ” Abierto todo el año ” show 21 results … How do I show all the results ??.. what about pages on the results pages ???SUGESTIONS
As soon as you update the plunging to get the key words from yoast and we can give this the maximum priority I thing this plugging will be perfect… because in this field I have the most used search words.
another suggestion : add the way this plugin shoe the results
http://demos2.gambit.ph/sumosearch2/?utm_referrer=http%3A%2F%2Fpreview.codecanyon.net%2Fitem%2Flive-ajax-site-search-sumo-search-wp-plugin%2Ffull_screen_preview%2F13182635%3F_ga%3D1.75382546.1474711339.1456864600November 30, 2016 at 10:14 am #11022Hi, any answers ??
Because Take ages in a search .. I move the general search to this page http://welcometoibiza.com/ajax-search-test/
And now the search in the home pages only show the results of “restaurantes” search ( this one its on this page http://welcometoibiza.com/restaurantes-en-ibiza/)
It is posible to have a specifyc page for results ????Any way to disable the ajax .. just go to the results page when hit ???
Any way to accelerate the search ???
If we can fixt that, this plugin its unsusefull for me.-
This reply was modified 6 years, 3 months ago by
Angel Nuñez Gonzalez.
-
This reply was modified 6 years, 3 months ago by
Angel Nuñez Gonzalez.
November 30, 2016 at 12:13 pm #11043Hi,
Sorry for the late response, I was away with my family for 5 days, and you had a lot of questions I had to check for answers.
Restaurantes Serch
2 -For this one I say in the source only to show Restaurantes post type
but show also other post types
No, you have the Search in Posts and Search in Pages options also enabled: https://i.imgur.com/J2x392e.png
3 – 4. If you want only restaurant post type, then it’s not possible to show posts and pages as well. To change the results count, you can do it on the General Options -> Limits panel.As soon as you update the plunging to get the key words from yoast and we can give this the maximum priority I thing this plugging will be perfect… because in this field I have the most used search words.
another suggestion : add the way this plugin shoe the results
I will definitely consider adding an option to choose and prioritize SEO keywords for a future release.It is posible to have a specifyc page for results ????
The results page is controlled by your theme exclusively, you need to customize the corresponding theme file for that. It’s usually the search.php file in the theme directory.Any way to disable the ajax .. just go to the results page when hit ???
Yes, on the General Options -> Behavior panel: https://i.imgur.com/EgG3p5U.pngAny way to accelerate the search ???
Please read the documentation, there is a whole chapter dedicated for performance:The plugin performance is usually almost identical to your server performance. These tips include some useful information, but don’t expect a huge performance impact, as it is also dependent on your server configuration and performance.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 30, 2016 at 1:59 pm #11050Thanks
Ok After all I think its working as I need…
About the performance .. i just follow all the tips you give me on the links
but Still don’t understand why i can get the same order on the results using the Index table on the general search ???
ThanksNovember 30, 2016 at 2:05 pm #11052but Still don’t understand why i can get the same order on the results using the Index table on the general search ???
Best,
Because the query limits on the database level for the regular search and the index table search are different. The index table search returns a bigger raw data set, which is then post-processed via PHP – therefore there is a big difference between the initial results returned. It’s very hard to explain, because it’s complicated, but the bottom-line is that the index table engine ranks up the results differently and orders them afterwards.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
November 30, 2016 at 4:35 pm #11060But Its simple … Why don’t show the lates post first ???
I just want to show new post first on the results
Example
Has “pacha” on title and are new post …Now show very different dates on the results
If that posible on the index table ?
-
This reply was modified 6 years, 3 months ago by
Angel Nuñez Gonzalez.
-
This reply was modified 6 years, 3 months ago by
- AuthorPosts
You must be logged in to reply to this topic.