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
350eb7af53
Merge pull request #1545 from jygaulier/PHRAS-773_clone-741
...
PHRAS-773
2015-11-05 21:15:00 +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
Benoît Burnichon
a5be4ada67
Setup default values in FtpEditorTest
2015-11-03 17:57:37 +01:00
Benoît Burnichon
8ad5d05e43
Fixup some tests using UserManipulator
2015-11-03 17:41:48 +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
Thibaud Fabre
c2a53e7fae
Enable mail notifications on mock users
2015-11-03 11:33:04 +01:00
Jean-Yves Gaulier
e00937f2ea
PHRAS-773 #time 10m
...
cancel commit on wrong branch
2015-11-03 11:31:19 +01:00
Mathieu Darse
c3bdb6fafe
Test field match with thesaurus term as value
2015-11-02 11:36:06 +01:00
Thibaud Fabre
a915a40a99
Clean up event processing dependencies
2015-10-26 14:25:59 +01:00
Thibaud Fabre
bcb502301b
Fix incorrect setter mapping and lax up assertions
2015-10-20 18:51:57 +02:00
Thibaud Fabre
4c1a8432bb
Fix test cases
2015-10-20 18:17:01 +02:00
jygaulier
a50f7eeddd
Merge pull request #1543 from jygaulier/PHRAS-771_clone-750
...
PHRAS-771 #time 2h
2015-10-19 10:32:20 +02:00
jygaulier
b6b04ab101
Merge pull request #1542 from jygaulier/PHRAS-772_clone-760
...
PHRAS-772 #time 15m
2015-10-19 10:31:37 +02:00
Jean-Yves Gaulier
87bdb15456
PHRAS-771 #time 10m
...
fix test
2015-10-16 13:22:34 +02:00
Jean-Yves Gaulier
f55bc774be
PHRAS-772 #time 30m
...
fix test
2015-10-15 17:36:19 +02: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
Thibaud Fabre
49ec3e0c95
Fix undefined property error
2015-10-12 16:40:28 +02:00
Benoît Burnichon
6ffba52bc4
Merge pull request #1507 from aztech-dev/recovery
...
Extract password recovery logic in service
2015-10-07 17:50:51 +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
Benoît Burnichon
6b6433e404
Change Api version to 2.0.0
2015-09-30 18:12:44 +02:00
Thibaud Fabre
6af2bc902f
Pass tests
2015-09-22 17:18:39 +02:00
Jean-Yves Gaulier
cf2d8b6cd2
PHRAS-716 #time 5m
...
fix test
2015-09-21 17:28:46 +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
Mathieu Darse
064c5e01a6
Wrap text and concept queries with a single filtered query
2015-08-26 19:29:26 +02:00
Mathieu Darse
e058814638
Test TextNode with private fields and concepts on private fields
2015-08-26 19:29:26 +02:00
Benoît Burnichon
b1bdd73662
Merge pull request #1478 from mdarse/fix-concept-query-builder
...
Fix concept query builder & private field wrapping
2015-08-26 18:07:58 +02:00
Mathieu Darse
c596914ab9
Fix concept query builder & private field wrapping
...
Concept queries on private fields where adding a « must » clause to
restrict match on certain collections only. Boolean queries do not
enforce one « should » clause match at least once a « must » clause is
added to it.
To make queries on private fields more robust & performants, these are
now wrapped in a filtered query with a collection filter.
2015-08-26 15:21:02 +02:00
Mathieu Darse
cf01ac94b5
Fix tests
2015-08-24 18:00:14 +02:00
Jean-Yves Gaulier
5d493321fa
#PHRAS-622 #time 20m
...
fix tests
2015-07-29 19:15:52 +02:00
Benoît Burnichon
b558cf9de3
Merge pull request #1452 from mdarse/fix-number-field-search
...
Fix number field search
2015-07-23 22:11:54 +02:00
Mathieu Darse
a59c42980c
Fix facets on non string fields & fix raw with "in" query
2015-07-23 18:41:10 +02:00
Mathieu Darse
a31442368b
Fix number field search
...
Search with non numeric content will not hit number field (it breaks elasticsearch and is useless anyway)
- Rename QueryHelper::buildPrivateFieldQueries() to wrapPrivateFieldQuery().
- Signature changed too, the third parameter is dropped an QueryContext is replaced by an array of Field.
- Query builder closure is now passed an array of Field, not of index field names.
- Remove Field::toConceptPathIndexFieldArray() because method name was beyond understanding (and also because it wasn't needed anymore)
- Various AST node types have changed due to previous API changes
2015-07-23 17:39:11 +02:00
Benoît Burnichon
e0573fc4f6
Merge pull request #1423 from mdarse/private-fields-ast
...
Restrict search on visible private fields
2015-07-17 17:36:30 +02:00
Mathieu Darse
cc1462a918
Test ThesaurusHelper
2015-07-17 14:59:57 +02:00
Benoît Burnichon
4e1e0bdfaf
Merge pull request #1438 from jygaulier/PHRAS-603_del-records-from-story
...
#PHRAS-602
2015-07-17 10:41:25 +02:00
Mathieu Darse
44cb5824e7
Implement private fields on range an equal nodes
...
New QueryContext::get() method
Removed QueryContext::normalizeField(), can be replaced with get() and a call to
Field::getIndexField().
2015-07-16 20:11:43 +02:00
Mathieu Darse
419c147982
Fix LimitedCollection::get() & add tests
2015-07-16 18:27:48 +02:00