https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39630

--- Comment #2 from Nick Clemens (kidclamp) <[email protected]> ---
Created attachment 187397
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187397&action=edit
Bug 39630: WIP - Index 'Date' fields as a date type in Elasticsearch

This patch adds a 'date' format to the field_config and makes sure this is used
for fields marked as
Date in the ES config

Currently 'Date' fields are indexed as standard and get keyword and text
variations in ES - these field types cannot
be used for range searching, so, will we try to build range queries correctly,
they will not return results.

TO DO:
We currently escape the brackets when building a range query, i.e.:
'(date-of-acquisition:\\[2015-01-05 2016-01-05\\])'

This does not work, we need to pass the brackets as brackets to allow ranges to
work correctly

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to