Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3395981
D11179.id37632.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.id37632.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
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)
Attached To
Mode
D11179: [services] Modify lambda opensearch request to use keyword instead of text
Attached
Detach File
Event Timeline
Log In to Comment