Page MenuHomePhabricator

D11179.diff
No OneTemporary

D11179.diff

diff --git a/services/search-index-lambda/src/main.rs b/services/search-index-lambda/src/main.rs
--- a/services/search-index-lambda/src/main.rs
+++ b/services/search-index-lambda/src/main.rs
@@ -172,7 +172,7 @@
query: Query {
r#match: None,
term: Some(Term {
- user_id: user_id.clone(),
+ user_id_keyword: user_id.clone(),
}),
},
script: Some(Script {
diff --git a/services/search-index-lambda/src/query.rs b/services/search-index-lambda/src/query.rs
--- a/services/search-index-lambda/src/query.rs
+++ b/services/search-index-lambda/src/query.rs
@@ -31,6 +31,6 @@
#[derive(Serialize)]
pub struct Term {
- #[serde(rename = "userID")]
- pub user_id: String,
+ #[serde(rename = "userID.keyword")]
+ pub user_id_keyword: String,
}

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 12:26 AM (21 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2598792
Default Alt Text
D11179.diff (788 B)

Event Timeline