-
Notifications
You must be signed in to change notification settings - Fork 27
fix: for issue 51, add support sorting by 'GET /resources' endpoint #54
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,11 @@ const initES = async () => { | |
const body = { mappings: {} } | ||
body.mappings[config.get('ES.ES_TYPE')] = { | ||
properties: { | ||
id: { type: 'keyword' } | ||
id: { type: 'keyword' }, | ||
memberHandle: { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Does this change mean we have to do anything to the existing Dynamo DB? I don't see any change to the model. Just making sure There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We don't need to change any thing with Dynamo DB, because search is making in Elasticsearch. |
||
type: 'text', | ||
fielddata: true | ||
} | ||
} | ||
} | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure what this change is for. Did you change all the uses of this value throughout the app?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In all places it tries to get Dynamo DB url using "DYNAMODB.DYNAMODB_URL" path and I need to change only this file.