Skip to content
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

es_search breaks with duplicate fields #54

Closed
kzenstratus opened this issue Apr 11, 2018 · 1 comment
Closed

es_search breaks with duplicate fields #54

kzenstratus opened this issue Apr 11, 2018 · 1 comment

Comments

@kzenstratus
Copy link

Error in data.table::setnames(batchDT, old = names(batchDT), new = gsub("_source\\.",  : 
  Some duplicates exist in 'old': _source.details.issueName

https://github.com/UptakeOpenSource/uptasticsearch/blob/b3cffef4401ce85722277839d7267a5bd7206de0/R/elasticsearch_parsers.R#L501

If an elastic search result populates duplicate fields, this es_search will break here.

@austin3dickey
Copy link
Collaborator

This was fixed in #46. You can use devtools::install_github("UptakeOpenSource/uptasticsearch") to install the latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants