Commit Graph

599 Commits

Author SHA1 Message Date
Thibaud Fabre
c92d5da9fe Merge branch 'clean-boxes' into merge-clean-boxes 2016-01-06 19:53:43 +01:00
Benoît Burnichon
51023c5533 bump copyright year 2016-01-05 13:38:14 +01:00
Jean-Yves Gaulier
e8830e0c3c #PHRAS-882 time 5m
removed filter on dbox, must be done only in task
2015-12-22 18:12:17 +01:00
Jean-Yves Gaulier
9a9ce70aa6 #PHRAS-882 time 3h
the checkbox "can be indexed" works  (only for index-task) : even if the databox is disabled for indexation via the task, real-time indexation & populate command still works
2015-12-22 18:10:39 +01:00
Benoît Burnichon
6eba70030d Fixes some PHPCS 2015-12-22 16:49:41 +01:00
Benoît Burnichon
bc855f200d Index on every record change event 2015-12-22 16:49:40 +01:00
Jean-Yves Gaulier
80f3285737 #PHRAS-874 time 2d
type hinting / cs
events renamed / deleted
n+1 removed for status-bits & technical meta
events added (subdef creation / created)
fix : es indexes after all subdefs are created
2015-12-17 20:07:48 +01:00
Jean-Yves Gaulier
18909462fa #PHRAS-840 time 12h
add : es "technical" fields (_index, _type, _version, ...) to es-record
fix: add etag to thumbnail on es answers, based on document _version
clean : obsolete methods calls changed, cs, ...
2015-12-10 17:58:16 +01:00
Benoît Burnichon
8d148e850b Add check on Available collections before performing a search
PHRAS-825
2015-11-24 11:15:44 +01:00
Benoît Burnichon
663dbef92e Add Facet labels 2015-11-23 16:17:58 +01:00
Benoît Burnichon
88427efa4c Fixup DI of QueryCompiler.
As compiler was not using structure on its own, extract it and replace instantiation by a factory.
2015-11-16 13:08:32 +01: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
Nicolas Maillat
702a7fce91 Merge pull request #1568 from mdarse/timestamp-query
Convert dates to date ranges on timestamp keys PHRAS-689
2015-11-13 20:35:30 +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
Benoît Burnichon
4e65c26a16 Merge pull request #1566 from mdarse/gps-position-fix
GPS positions handling
2015-11-13 11:45:41 +01:00
Mathieu Darse
3683721236 Index GPS positions with care of cardinal points 2015-11-13 10:28:57 +01:00
Mathieu Darse
fe63511031 Rename index metadata prefix 2015-11-13 10:28:57 +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
Benoît Burnichon
5dc1fbe2cb Merge pull request #1564 from mdarse/query-on-exif
Query support for metadata tags
2015-11-12 22:47:24 +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
c89d48c6f7 BooleanOperator → BooleanExpression 2015-11-10 14:56:50 +01:00
Mathieu Darse
9f923e0409 Refactor AST for match expression 2015-11-10 13:35:12 +01:00
Mathieu Darse
7353945d3c Refactor binary expression handling 2015-11-10 13:19:50 +01:00
Mathieu Darse
9635efc1e3 Refactor children count assertions 2015-11-10 13:11:45 +01:00
Mathieu Darse
407470ab10 Rename key-value expression classes 2015-11-10 13:04:28 +01:00
Mathieu Darse
c31ad07de9 Do not filter out falsy boolean values 2015-11-10 12:29:14 +01:00
Mathieu Darse
54cc0132b7 Cast metadata tags values according to type 2015-11-10 11:51:57 +01:00
Mathieu Darse
e953998ca7 Use analysis on key-value expressions (with colon operator) 2015-11-09 19:08:40 +01:00
Mathieu Darse
0bb61bd882 Remove metadata tag validation from query compiler 2015-11-09 19:07:31 +01:00
Mathieu Darse
aff2819f82 Dynamically create metadata tags mapping 2015-11-09 19:06:55 +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
Benoît Burnichon
f684550ab1 Merge pull request #1555 from bburnichon/rebase-web-gallery-v4
Rebase web gallery v4
2015-11-09 17:48:22 +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
13186209f7 Handle matching on file metadata 2015-11-06 10:14:23 +01:00
Benoît Burnichon
94bf685437 Merge pull request #1525 from mdarse/new-in-syntax
Grammar unification
2015-11-04 21:16:03 +01:00
Mathieu Darse
570808e793 Switch \Exception to search engine’s Exception 2015-11-04 19:30:56 +01:00
Benoît Burnichon
7912d2932b Fixup translation instructions 2015-11-04 16:31:34 +01:00
Mathieu Darse
387828e9f5 Clean « IN » node type 2015-11-04 16:14:44 +01:00
Mathieu Darse
f3a15fb19f Fix text merging 2015-11-04 12:49:49 +01:00
Mathieu Darse
a666ce75c6 Use equality syntax on facet queries 2015-11-04 11:33:48 +01:00