Page MenuHomePhabricator

D11179.id37632.diff
No OneTemporary

D11179.id37632.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
Mon, Dec 2, 9:39 AM (19 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2607189
Default Alt Text
D11179.id37632.diff (788 B)

Event Timeline