dulibrarytech / digitaldu-frontend

Digital Collections DU front end
Apache License 2.0
3 stars 0 forks source link

Update search module and any discovery module Elastic api functions on new Elastic cluster #363

Closed jrynhart closed 3 years ago

jrynhart commented 3 years ago

FYI: the new ES cluster has data. http://lib-es04-vlp.du.edu:9200. Index names remain the same (repo_public/repo_admin). Feel free to test at your convenience. Upgrading the nodejs ES client is highly recommended. The biggest change that affects us appears to be no longer needing to define a type (data) value in our queries. The type now defaults to “_doc”.

jrynhart commented 3 years ago

Updates required for Elastic 7.10.2 api:

  1. match and wildcard queries
  2. fuzzy queries
  3. Remove "type" field from request objects
  4. Update code that reads data from Elastic response objects