winniezz
Forum Replies Created
-
Forum: Plugins
In reply to: [FG PrestaShop to WooCommerce] Presale questionsThank you, it seems your product will fit our needs, I will continue my research, yours,
Forum: Plugins
In reply to: [CelerSearch - Lightning Fast Search with Meilisearch] Duplicated entriesit works, indexing is much more slow now but it works.
(search is still fast)
Forum: Plugins
In reply to: [CelerSearch - Lightning Fast Search with Meilisearch] Duplicated entriesForum: Plugins
In reply to: [CelerSearch - Lightning Fast Search with Meilisearch] Duplicated entriesAlso, in indices panel it’s shown “82435 / 43982” in “Documents” column
Forum: Plugins
In reply to: [CelerSearch - Lightning Fast Search with Meilisearch] Duplicated entriesif I’m using
add_action(‘pre_get_posts’, function( $query ) {
if ( !is_admin() && $query->is_main_query() && $query->is_search() ) {
$query->set( ‘posts_per_page’, 10 );
}
}, 1);I got 5 results on page 1
with
add_action(‘pre_get_posts’, function( $query ) {
if ( !is_admin() && $query->is_main_query() && $query->is_search() ) {
$query->set( ‘posts_per_page’, 20 );
}
}, 1);I get 11 results on page 1
I suppose it depends if some posts are duplicated in the index or not.
Forum: Plugins
In reply to: [CelerSearch - Lightning Fast Search with Meilisearch] About results rankingThat works fine, thank you for GREAT work !
Forum: Plugins
In reply to: [CelerSearch - Lightning Fast Search with Meilisearch] Duplicated entriesThank you 😉
But I still have “random” number of results (14 ?) on standard elementor search page and some overlaps between pages
page 1 : a b c d e
page 2 : e f g h i (we already had e one page 1)
this kind of behaviour
- This reply was modified 3 months, 1 week ago by winniezz.
Forum: Plugins
In reply to: [CelerSearch - Lightning Fast Search with Meilisearch] About results rankingadding $params[‘sort’] = [‘created_at:desc’]; to line 115 of includes/Services/MeiliSearch.php seems to do the trick.
Is there any way to do that without modifying source code ? I’m using “standard” elementor search results display for view/pagination.
Thank you !
- This reply was modified 3 months, 2 weeks ago by winniezz.
Forum: Plugins
In reply to: [CelerSearch - Lightning Fast Search with Meilisearch] Duplicated entriesps: I’m using elementor to display query results using built-in loop-grid with current query.
Forum: Plugins
In reply to: [CelerSearch - Lightning Fast Search with Meilisearch] Duplicated entriesIt seems huge posts are splitted and so appears many times in the index and it’s faking the number of results displayed
add_action(‘pre_get_posts’, function( $query ) {
if ( !is_admin() && $query->is_main_query() && $query->is_search() ) {
$query->set( ‘posts_per_page’, 24 );
}
}, 1);When results have huge posts, number or returned results will be lower. 20 ,21 …
I also wonder if it can’t be a problem when results are paginated because of this behaviour.. ;will page 2 really be page ?Forum: Plugins
In reply to: [WooCommerce] PHP Parse error: syntax error after update to WC 8.6Forum: Plugins
In reply to: [WP Super Cache] CDN for known userssoved
Forum: Plugins
In reply to: [WP Super Cache] CDN for known usersit’s now working
enabled, disabled, enabled… finally worked…
must be a bug somewhere