Jean-Yves Gaulier
8312be6fc8
removed useless tests
2020-02-17 20:17:08 +01:00
jygaulier
a2b2658c04
Merge branch 'master' into PHRAS-2831_port-truncation_4.1
2019-11-19 17:34:45 +01:00
Jean-Yves Gaulier
e09c176f3f
PHRAS-2831_port-truncation_4.1
...
fix tests
2019-11-19 17:34:27 +01:00
Jean-Yves Gaulier
3145049247
PHRAS-2831_port-truncation_4.1
...
copy elastic/truncation code from 4.0
nb: from already exists
2019-11-19 16:45:46 +01:00
Harrys Ravalomanana
5e4da5f28f
PHRAS-2805 #comment Port41 of Facet-case-sensibility
2019-11-14 15:02:04 +04:00
Jean-Yves Gaulier
38e7f6038f
PHRAS-2815_generate-cterms-multi-db_4.1
...
fix unit test
2019-11-07 17:50:50 +01:00
aynsix
20076df3f8
port to 4.1 date with time on phraseanet
2019-08-15 15:23:03 +04:00
aina-esokia
47d974a466
PHRAS-2497 #comment port to 4.1 Search issue when query mix data from Public and Private field
...
#time 2h
2019-04-23 12:10:25 +04:00
aina-esokia
eaf8cf076a
port to 4.1 search mix type
2019-03-22 12:04:42 +04:00
aina-esokia
c905ca303f
use composite position
2018-05-03 17:25:37 +04:00
KallooaSan
00be9e51b0
PHRAS-1895_PORT_PHRAS-1401_include_json_format_return_record ( #2494 )
...
* PHRAS-1895_PORT_PHRAS-1401 include json format return record
* PHRAS-1895_rollback deleted action ref PHRAS-1688
2018-02-28 17:31:45 +01:00
jygaulier
a70bf2fc70
PHRAS-1304_AUTO-COMPLETION_MASTER ( #2061 )
...
* PHRAS-1304_AUTO-COMPLETION_MASTER
ported from 4.0
* PHRAS-1304_AUTO-COMPLETION_MASTER
fix
* PHRAS-1304_AUTO-COMPLETION_MASTER
fix
* PHRAS-1304_AUTO-COMPLETION_MASTER
bump php version to 5.5.31 (5.5.21 is obsolete in cicleci)
* PHRAS-1304_AUTO-COMPLETION_MASTER
bump php version to 5.5.31 : php.ini moved in circelci
* PHRAS-1304_AUTO-COMPLETION_MASTER
add zmq & date to php for circleci
* PHRAS-1304_AUTO-COMPLETION_MASTER
add zmq
* PHRAS-1304_AUTO-COMPLETION_MASTER
bump amqp
* PHRAS-1304_AUTO-COMPLETION_MASTER
downgrade amqp to 1.2 to test compilation against old librabbit 0.4 (ubuntu)
* PHRAS-1304_AUTO-COMPLETION_MASTER
add amqp.so to php.ini, (re)bump amqp to 1.6
* PHRAS-1304_AUTO-COMPLETION_MASTER
build rabittmq from git
* PHRAS-1304_AUTO-COMPLETION_MASTER
build rabittmq from git again
* PHRAS-1304_AUTO-COMPLETION_MASTER
build rabittmq from git again and again
* PHRAS-1304_AUTO-COMPLETION_MASTER
fix test on media rotation 600*400 -> 400*599 !!!
* PHRAS-1304_AUTO-COMPLETION_MASTER
restore facebook sdk to 4.0.1 due to mistake
* PHRAS-1304_AUTO-COMPLETION_MASTER
deleted unwanted file
2017-02-06 18:26:56 +01:00
Thibaud Fabre
299b24d4fb
Update class for mapping type constants
2016-10-19 13:31:17 +02:00
Jean-Yves Gaulier
827e4fe255
PHRAS-842_search-logged-as-es_4.0
...
- fix : query is logged in a "user" form, before parsing
2016-09-22 15:16:36 +02:00
Jean-Yves Gaulier
378cc45a87
PHRAS-1101_THMB-TRAIN-IN-PREVIEW
...
backport from master
#time 30m
2016-05-12 17:16:47 +02:00
Benoît Burnichon
1e18b3e69f
This is a combination of 33 commits.
...
- Squashed Pull request #1730
- Squashed Pull request #1741
- Squashed Pull request #1742
- Squash merge branch 4.0
- Squashed Pull request #1744
- Squashed Pull request #1746
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed Pull request #1758
- Avoid using imagine/imagine alias as it is causing install issues
- Squashed merge branch 4.0
- Squashed Pull request #1763
- Squashed merge branch 4.0
- Squash of 6 commits
- Squashed merge branch 4.0
- This is a combination of 2 commits.
- Squashed Pull request #1775
- Squashed Pull request #1777
- Squashed Pull request #1779
- Squashed Pull request #1780
- Squashed Pull request #1782
- Adds a Pull request template
- Squased Pull request #1783
- Squash Pull request #1786
- Squashed Pull request #1796
- Squashed merge branch 4.0
- Squash Pull request #1791
- Squashed merge branch 4.0
- Squashed Pull request #1808
- Squashed Pull request #1811
- Squashed Pull request #1809
2016-04-20 16:22:14 +02:00
Benoît Burnichon
59a334ea32
New search style
2016-02-22 14:07:16 +01:00
Benoît Burnichon
4bc76a4307
Prevent SearchEngineOptionsTest to fail when empty collection list
2015-11-24 11:34:48 +01:00
Benoît Burnichon
8a30020805
SearchEngineOptions tests cleanup
2015-11-24 11:15:53 +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
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
4cf2fc19cb
Fix tests
2015-11-13 20:11:02 +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
0cd9933ac6
Handle search with on timestamp
...
PHRAS-689
2015-11-13 10:28:05 +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
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
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
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
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
766d9b86f3
Update tests according to latest changes (PHRAS-688)
2015-10-12 17:27:57 +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
d6a82370a9
Merge branch 'master' into ar-731-status-search-dsl
...
Conflicts:
lib/Alchemy/Phrasea/SearchEngine/Elastic/Indexer/RecordIndexer.php
2015-10-06 12:26:03 +02:00
Mathieu Darse
8a5afb1140
Fix public API BC break
2015-10-06 11:22:44 +02:00
Nicolas Maillat
15e632b44e
Merge pull request #1502 from mdarse/ar-731-status-search-dsl
...
PHRAS-731 Add status match DSL
2015-09-15 09:22:17 +02:00
Mathieu Darse
8b87e94ff2
Add status match DSL
2015-09-14 19:25:44 +02:00
Mathieu Darse
2afd15dd38
Fix tests
2015-09-08 10:37:32 +02:00
Mathieu Darse
ed0affa921
buildConceptQueriesForFields() replaces buildConceptQueries()
2015-08-27 17:35:34 +02:00