ElasticPress icon indicating copy to clipboard operation
ElasticPress copied to clipboard

BUG: Query Loop Block does not order by score in FSE

Open felipeelia opened this issue 3 years ago • 1 comments

Describe the bug

While using the new Twenty Twenty-Two theme, search results will always be ordered by date, instead of by Elasticsearch score.

felipeelia avatar Mar 31 '22 12:03 felipeelia

Issue opened in Gutenberg: https://github.com/WordPress/gutenberg/issues/39285

felipeelia avatar May 03 '22 14:05 felipeelia

@oscarssanchez do you mind checking if this is still a problem?

felipeelia avatar Dec 13 '22 18:12 felipeelia

@felipeelia couldn't reproduce doing this:

1.- Create a post with title "test" 2.- Create a post with unrelated title and content "test" 3.- Using Twenty Twenty-Two theme search for "test" 4.- The post with title test comes first

oscarssanchez avatar Dec 20 '22 03:12 oscarssanchez

@oscarssanchez does it come first even when the post "test" has an old date?

felipeelia avatar Dec 20 '22 11:12 felipeelia

@felipeelia yes, I tested manually changing the date to a day before creation and it still did show up

oscarssanchez avatar Dec 20 '22 14:12 oscarssanchez