Forum Replies Created
-
AuthorPosts
-
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi,
The issue is, that the content is in a repeater/flexible field, not within the post content.
The good news is, that I have installed the beta version of the next release, which has a solution for indexing the repeater field contents pretty accurately. After installing I have selected the field home_page_builder field only, and reindexed, which now shows a lot more keywords.
If you try searching items from the page content, then it hopefully almost all keywords should be identified.February 29, 2024 at 4:05 pm in reply to: Accessing the index outside of the search form (e.g. for post loop) #47134Ernest Marcinko
KeymasterHi,
It does not need resetting, there are no static things that should change the outcome.
Multisites are a bit weird to handle, but can so try switching to the current site back after every ASP_Query loop, like this:
restore_current_blog();I have checked the queries, but I don’t see a missing switch anywhere. This is very likely the cause though, as to search across the sites a
switch_to_blog()is called, and after it’s finished the plugin reverts back to the current viarestore_current_blog();My guess is that there is either a missing
restore_current_blog();somewhere I didn’t notice, or it does not have an effect.Ernest Marcinko
KeymasterHi,
Yes, the live results follow the ordering. There is a known issue with post date related stuff in the current release, I suspect it might be related to that. I am planning to release version 4.26.5 on monday, which should address that.
Can you wait until then and let me know if anything changes after the update?February 28, 2024 at 5:07 pm in reply to: Search in the form of a magnifying glass in the mobile menu #47122Ernest Marcinko
KeymasterYou cannot access this content.
February 28, 2024 at 4:47 pm in reply to: Search in the form of a magnifying glass in the mobile menu #47120Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi,
I recommend switching to the index table engine and index the field values. It will try to explicitly get the field labels and index them to be searchable.
Ernest Marcinko
KeymasterYou cannot access this content.
February 28, 2024 at 1:07 pm in reply to: Search in the form of a magnifying glass in the mobile menu #47116Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi Lance,
That did not work. If I turn it to Disabled I get the WordPress search result and not the vertical result I am looking for. If I have it Enabled the vertical results overlay the WordPress result for the same search.
Okay, wait, you want it to replace the original WordPress results somehow? I don’t think that is possible, the results page will still show the original search results.
You could try a hacky way to maybe hide the results via custom CSS, that could work:.search.search-results #content-masonry { display: none; }About the PDF content, the most likely cause is that the index table may not be enabled on the search instance, make sure to check that first.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterHi,
I’m afraid that is not possible at the moment. There might be a very hacky way via custom CSS, but I’m not sure if I recommend to even try, it could take a long time to figure out a stable working solution.
Ernest Marcinko
KeymasterYou cannot access this content.
Ernest Marcinko
KeymasterYou cannot access this content.
February 27, 2024 at 4:15 pm in reply to: Accessing the index outside of the search form (e.g. for post loop) #47099Ernest Marcinko
KeymasterSure Peter!
The custom field order is a bit tricky, I don’t think it’s documented either, but this should work:
'post_primary_order' => 'customfp DESC', 'post_primary_order_metatype' => 'numeric', '_post_primary_order_metakey' => 'post_views_count', -
AuthorPosts