Commit Graph

21 Commits

Author SHA1 Message Date
aynsix
20076df3f8 port to 4.1 date with time on phraseanet 2019-08-15 15:23:03 +04:00
Mathieu Darse
4cf2fc19cb Fix tests 2015-11-13 20:11:02 +01:00
Mathieu Darse
0cd9933ac6 Handle search with on timestamp
PHRAS-689
2015-11-13 10:28:05 +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
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
f94b4c6b80 Escape trailing « . » on key prefixes 2015-11-06 10:14:23 +01:00
Mathieu Darse
13186209f7 Handle matching on file metadata 2015-11-06 10:14:23 +01:00
Mathieu Darse
950e623f47 Test equality expressions 2015-11-04 16:53:04 +01:00
Mathieu Darse
f3a15fb19f Fix text merging 2015-11-04 12:49:49 +01:00
Mathieu Darse
f1d6141766 Implicit conjunction
When a term is followed by or just before a key-value pair, so manually adding AND is not needed anymore.
2015-11-03 16:07:41 +01:00
Mathieu Darse
c3bdb6fafe Test field match with thesaurus term as value 2015-11-02 11:36:06 +01:00
Mathieu Darse
e86918de4b Merge native keys, flag & fields syntaxes together (PHRAS-685)
- « IN » syntax was removed
- Tests where updated with new serialized representations (IN is replaced by MATCHES)
- Removed tests of native fields with IN syntax
- 4 tests (lines 77, 80, 83 and 86 in queries.csv) are not passing but
they were not really part of specified functionality. They need some work eventually.
2015-10-12 19:50:23 +02:00
Mathieu Darse
e4ec73c58b Same grammar path for native keys than « IN » expressions
- Replace Database/Collection/Type/RecordIdentifier specific AST with a generic KeyValueExpression
- « IN » queries in regular fields are still using InExpression right now
- Add some tests for « type:XXXX » queries
2015-10-06 18:41:51 +02:00
Mathieu Darse
8b87e94ff2 Add status match DSL 2015-09-14 19:25:44 +02:00
Mathieu Darse
1d0257554b Fix code style on latest query parser feature & add tests 2015-07-02 19:06:44 +02:00
Jean-Yves Gaulier
45d96fa301 PHRAS-482 #time 20m
- added tests
2015-07-01 18:30:43 +02:00
Mathieu Darse
8d767788fe Test raw string parsing 2015-04-15 19:07:00 +02:00
Mathieu Darse
eda8181d87 Test inequality queries with dates 2015-04-15 18:28:12 +02:00
Mathieu Darse
b3f9dd4ca2 Implement inequality in query visitor & fix IN expressions 2015-04-15 18:23:36 +02:00
Mathieu Darse
10395f410c Add tests for query compiler 2015-04-15 18:23:36 +02:00