Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3385453
D11179.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
788 B
Referenced Files
None
Subscribers
None
D11179.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D11179: [services] Modify lambda opensearch request to use keyword instead of text
Attached
Detach File
Event Timeline
Log In to Comment