| Summary: | Elasticsearch - fields do not have aliases - Koha should always use the common term internally | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Nick Clemens (kidclamp) <nick> |
| Component: | Searching - Elasticsearch | Assignee: | Bugs List <koha-bugs> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P5 - low | CC: | ere.maijala |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19575 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
This problem was discovered in the advanced search - when limiting by shelving location the search is composed as limit=mc-loc:{term} this fails in ES because the index is setup as 'location' What works in both is: limit=location:{term} We either need to build field aliases into ES (https://www.elastic.co/guide/en/elasticsearch/reference/master/alias.html) Or make sure to use consistent names across Koha