Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit aaca83c

Browse files
authoredJan 14, 2022
Merge pull request #10 from kabojnk/kdm/add-columns-support-for-advanced-search
Add support for 'columns' property when using ElasticSearch method in search()
2 parents aa978f4 + 3e93fed commit aaca83c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎lib/search.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ module.exports = async function(input, params = {}) {
2828
// ElasticSearch JSON method
2929
case 'object':
3030
input.indexes = makeCSV(params.indexes)
31+
input.columns = makeCSV(params.columns)
3132
return reqJSON(path, input)
3233

3334
default:

0 commit comments

Comments
 (0)
Please sign in to comment.