aynsix
9033ce28ee
fix empty to unset
2021-12-14 17:49:49 +03:00
jygaulier
bfc984266c
PHRAS-3417_search-empty-fields_MASTER
...
change : _any_ pseudo-value is changed for _filled_
2021-04-20 19:29:47 +02:00
jygaulier
1e7092b86a
[skip ci] PHRAS-3417_search-empty-fields_MASTER
...
add : special values "_empty_" and "_any_" to search empty field or not-empty field. Works only with = operator.
e.g.: Title=_empty_
wip/todo : unit test ; facet
2021-04-15 17:31:22 +02:00
Jean-Yves Gaulier
a4631cb434
PHRAS-2751_geoloc-search-403err_master
...
fix : geoloc search should work again (missed method during PHRAS-2707)
2019-10-08 15:30:19 +02:00
aynsix
20076df3f8
port to 4.1 date with time on phraseanet
2019-08-15 15:23:03 +04:00
Jean-Yves Gaulier
1e64eb7a42
PHRAS-2009_Geo-operator_MASTER
...
add the "geolocation="lat lon distance" query
2018-05-17 21:13:28 +02:00
Jean-Yves Gaulier
3f785e7ba3
PHRAS-483_SHA-UID_master
...
add index (not analysed) & search on fields "sha256" and "uuid"
e.g. : uuid:"4d006e01-bc38-4aac-9a5b-2c90ffe3a8a2"
e.g. : sha256:a7f3ec01c4c5efcadc639d494d432006f13b28b9a576afaee4d3b7508c4be074
2018-04-26 17:35:01 +02:00
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