Commit Graph

22 Commits

Author SHA1 Message Date
Thibaud Fabre
3f1230a86c Add missing include 2016-10-21 09:41:04 +02:00
Thibaud Fabre
299b24d4fb Update class for mapping type constants 2016-10-19 13:31:17 +02:00
Mathieu Darse
3b2d6b05a0 Pass structure to query visitor & enable range generation for regular fields (equal expression) 2015-11-13 20:41:19 +01:00
Nicolas Maillat
ccc5315ad3 Merge pull request #1569 from mdarse/fix-range-expression-private-fields
Fix range expression with private fields
2015-11-13 20:36:43 +01:00
Mathieu Darse
e09e86df1a Fix range expression with private fields
Post processor hook was not called
2015-11-13 20:08:05 +01:00
Mathieu Darse
6913d67e9a Convert dates to date ranges on timestamp keys 2015-11-13 19:28:59 +01:00
Mathieu Darse
0f0c007e19 s/metadatatag/key 2015-11-13 10:28:06 +01:00
Mathieu Darse
31e4f33275 Check input date before submitting to ES 2015-11-13 10:28:06 +01:00
Mathieu Darse
0cd9933ac6 Handle search with on timestamp
PHRAS-689
2015-11-13 10:28:05 +01:00
Mathieu Darse
b8c3ea91c8 Make range expression throw on invalid value 2015-11-10 17:08:41 +01:00
Mathieu Darse
8e5d09bd76 Test value compatibility before creating ES query 2015-11-10 16:40:10 +01:00
Mathieu Darse
407470ab10 Rename key-value expression classes 2015-11-10 13:04:28 +01:00
Mathieu Darse
e953998ca7 Use analysis on key-value expressions (with colon operator) 2015-11-09 19:08:40 +01:00
Mathieu Darse
5784b158a2 Extend Key interface to support raw index fields 2015-11-09 19:06:09 +01:00
Mathieu Darse
9d3dfa5653 Manage metadata tags from structure 2015-11-09 19:04:54 +01:00
Mathieu Darse
77b9faaa4e Handle equality test on metadata
Still need some work on testing side
2015-11-06 19:34:09 +01:00
Mathieu Darse
3d7ab6a292 Move field logic from RangeExpression to FieldKey
- Prevent Demeter’s Law violation
2015-11-06 19:10:26 +01:00
Mathieu Darse
467e530a93 Handle inequality comparisons with technical data. 2015-11-06 10:16:33 +01:00
Mathieu Darse
713442c7b4 Merge metadata & native key expressions
Do not delegates query building to Key instance anymore.
2015-11-06 10:16:33 +01:00
Mathieu Darse
803a9010a5 Pass metadata key as value object 2015-11-06 10:16:31 +01:00
Mathieu Darse
6abfd70e80 Move query build logic for native keys into Key class (PHRAS-688) 2015-10-12 16:42:04 +02:00
Mathieu Darse
d23514c5d0 Move key-value related AST to dedicated namespace (PHRAS-688) 2015-10-12 14:27:32 +02:00