Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync with A8C forked version #92

Merged
merged 27 commits into from
Nov 19, 2021
Merged
Changes from 3 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
974abf2
Add VIP Search adapter
nickdaugherty May 15, 2020
0b39d7f
Merge pull request #1 from Automattic/update/merge-upstream
nickdaugherty May 15, 2020
0649c9f
Merge branch 'master' into update/add-vip-search-adapter
nickdaugherty May 15, 2020
f15f5dc
Merge pull request #2 from Automattic/update/add-vip-search-adapter
nickdaugherty May 15, 2020
4f8462c
Fix tag taxonomy name in fields mapping
nickdaugherty May 18, 2020
8e5869d
Merge pull request #3 from Automattic/fix/vip-search-adapter-fixes
nickdaugherty Jun 11, 2020
244c038
Account for a new total format in es67
srtfisher Jun 5, 2020
d0dc7d0
Use raw post type for post_type field
nickdaugherty Jun 12, 2020
1741c24
Merge pull request #4 from Automattic/fix/post_type-in-vip-search-map…
nickdaugherty Jun 15, 2020
39e0096
Use the lowercase version of term names
nickdaugherty Jun 25, 2020
f804b03
User lowercase meta values
nickdaugherty Jun 25, 2020
3dec381
Merge pull request #5 from Automattic/update/lowercase-term-and-meta-…
nickdaugherty Jun 25, 2020
d7dc843
Ensure we can return just the _source fields if desired
Feb 18, 2019
ad0b31a
Return total hits by default
nickdaugherty Sep 9, 2020
f925eba
Merge pull request #6 from Automattic/update/get-total-hits-from-es
nickdaugherty Sep 9, 2020
6644e1b
Use raw field for post title in adapter
Sep 17, 2020
d263ba4
Merge pull request #7 from Automattic/update/use_raw_field_for_post_t…
Sep 17, 2020
5918926
Use raw field for post name in adapter
t-wright Sep 21, 2020
7f661cf
Merge pull request #8 from Automattic/t-wright/use-raw-field-for-post…
Sep 21, 2020
dc95da4
Fix is_main_query() not registering when hooked onto pre_get_posts
rebeccahum Oct 5, 2020
a809688
Merge pull request #9 from Automattic/vip/fix_is_main_query
nickdaugherty Oct 5, 2020
d660b99
Use login field instead of display_name for cases where user's displa…
rebeccahum Oct 16, 2020
cc291c1
Use .raw because it's not analyzed
rebeccahum Oct 20, 2020
2442e57
Merge pull request #10 from Automattic/reb/use_login_for_mapping
nickdaugherty Oct 20, 2020
fa4ce71
Merge branch 'main' of https://github.com/alleyinteractive/es-wp-quer…
rebeccahum Sep 27, 2021
8bcce18
Merge pull request #12 from Automattic/alleyinteractive-main
rebeccahum Sep 29, 2021
05a254e
Pull from mu-plugins
rebeccahum Nov 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion adapters/vip-search.php
Original file line number Diff line number Diff line change
@@ -110,7 +110,7 @@ function vip_es_field_map( $es_map ) {
return wp_parse_args(
array(
'post_author' => 'post_author.id',
'post_author.user_nicename' => 'post_author.display_name',
'post_author.user_nicename' => 'post_author.login.raw',
'post_date' => 'post_date',
'post_date.year' => 'date_terms.year',
'post_date.month' => 'date_terms.month',