Jean-Yves Gaulier
d984938614
#PHRAS-622 #time 3h
...
add 'lenient' to prevent es errors when parsing invalid dates
cs
2015-07-29 16:39:19 +02:00
Mathieu Darse
5bbd4bfe33
Fix values lookup on thesaurus hydrator
2015-07-24 18:13:18 +02:00
Benoît Burnichon
81cce5efa2
Merge pull request #1456 from mdarse/fix-regular-text-search
...
Fix query builds to only hit compatible fields
2015-07-24 17:05:50 +02:00
Mathieu Darse
3569d47467
Fix query builds to only hit compatible fields
2015-07-24 15:28:21 +02:00
Benoît Burnichon
3a8e147db5
Merge pull request #1455 from mdarse/fix-number-field-search
...
Remove unused QueryContext#getRawFields()
2015-07-24 12:49:52 +02:00
Benoît Burnichon
7e76236a06
Merge pull request #1453 from mdarse/invalid-field-query
...
Handle queries with invalid fields
2015-07-24 11:26:57 +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
afbb0e3696
Handle queries with invalid fields
...
They lead to zero result instead of all results from elasticsearch.
2015-07-23 19:11:12 +02:00
Mathieu Darse
af129601e7
Remove unused QueryContext#getRawFields()
2015-07-23 19:03:34 +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
Florian BLOUET
1671590c1c
fix query counter display in seconds
2015-07-23 14:33:43 +02:00
Benoît Burnichon
0367b9afac
Merge pull request #1445 from jygaulier/PHRAS-606_story-thumbnails
...
PHRAS-606
2015-07-21 20:23:08 +02:00
Jean-Yves Gaulier
f2d37a353e
#PHRAS-597 #time 15m
...
fix: api quarantine/list now can return up to 1000 items
2015-07-21 19:05:31 +02:00
Jean-Yves Gaulier
82a8c97790
#PHRAS-606 #time 5m
...
fix: mime is forced into es
2015-07-21 18:23:21 +02:00
Jean-Yves Gaulier
00f8c8735d
#PHRAS-606 #time 4h
...
fix default "binary" thumbnails for stories
nb : must re-populate
2015-07-21 16:54:36 +02:00
Jean-Yves Gaulier
bb29eeba77
#PHRAS-603 #time 6h
...
cs bb
2015-07-21 10:57:10 +02:00
Jean-Yves Gaulier
3b5e2a4089
#PHRAS-603 #time 6h
...
fix "use_as_cover" in story api
2015-07-20 18:10:51 +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
daea7f8c77
Raw queries do not localize fields anymore
2015-07-17 15:58:39 +02:00
Mathieu Darse
a813ef51e7
Restrict facets to show only visible content on private fields
2015-07-17 14:30:01 +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
78ab5b31dc
Fix search when narrowed to private fields only
2015-07-16 19:52:25 +02:00
Mathieu Darse
7a330d2ef6
Fix highlight on private fields
2015-07-16 18:28:34 +02:00
Mathieu Darse
419c147982
Fix LimitedCollection::get() & add tests
2015-07-16 18:27:48 +02:00
Jean-Yves Gaulier
2a138ed596
#PHRAS-602 #time 5m
...
fix
2015-07-16 16:14:36 +02:00
Jean-Yves Gaulier
c751605554
#PHRAS-602 #time 6h
...
new : api to delete records from story
2015-07-16 15:52:05 +02:00
Mathieu Darse
83d9cd4790
Fix getUnrestrictedFields() when called on non narrowed query context
...
Add tests and prevent AST to rely on field key by returning indexed arrays
instead of associative ones.
2015-07-16 15:44:16 +02:00
Benoît Burnichon
a3532fac9b
Remove plugins/commands.php from tracked files
2015-07-16 11:15:52 +02:00
Benoît Burnichon
a986d20383
Merge pull request #1432 from jygaulier/PHRAS-504_CRLF-in-proposals
...
PHRAS-504
2015-07-16 11:11:10 +02:00
Jean-Yves Gaulier
0dd2bbfb3c
bb changes
2015-07-15 17:08:16 +02:00
Jean-Yves Gaulier
060665303a
bb changes
2015-07-15 11:35:52 +02:00
Benoît Burnichon
e8d4d5f38d
Record_adapter now uses a specific repository from databox
2015-07-15 11:26:13 +02:00
Jean-Yves Gaulier
d012978508
PHRAS-504 #time 8h
...
fix: prod / cr-lf in metadata is ok for aggregate filter
cr,lf,crlf are normalized
- getting field values from recordadapter
- during es indexation (direct sql read in metadata...)
- before querying
2015-07-15 11:10:38 +02:00
Benoît Burnichon
fd530d8795
Deprecate get_databox
in favor of getDatabox
2015-07-13 18:47:10 +02:00
Benoît Burnichon
0b36d706a0
Deprecate {set,get}_type in favor of {set,get}Type
2015-07-13 18:43:28 +02:00
Benoît Burnichon
d5d9699397
Deprecated {set,get}_mime in favor of {set,get}MimeType
2015-07-13 18:35:20 +02:00
Benoît Burnichon
a4637c2e72
Deprecate get_record_id in favor of getRecordId
2015-07-13 18:24:06 +02:00
Benoît Burnichon
ff7801132d
Deprecate get_collection_id instead of getCollectionId
2015-07-13 18:22:21 +02:00
Benoît Burnichon
8d4cf71d6d
Deprecate get_base_id in favor of getBaseId
2015-07-13 18:19:42 +02:00
Benoît Burnichon
c97eedd40f
Deprecate is_grouping in favor of isStory
2015-07-13 18:14:51 +02:00
Benoît Burnichon
2107cd28df
Deprecated get_uuid in favor of getUuid
2015-07-13 18:08:04 +02:00
Benoît Burnichon
38ae7bc2ac
Rename get_number/set_number to getNumber/setNumber
2015-07-13 17:50:20 +02:00
Benoît Burnichon
e14b2155aa
Deprecated get_modification_date
2015-07-13 17:08:22 +02:00
Benoît Burnichon
9fea438079
Deprecated old underscore get_creation_date. Use getCreated instead.
2015-07-13 17:08:22 +02:00
Benoît Burnichon
620425cbf9
PHPCS fixes
2015-07-13 12:34:19 +02:00
Benoît Burnichon
f5949cd9f4
Fix story set metadata collection.
2015-07-13 11:18:12 +02:00
Mathieu Darse
1e31b68c5f
Refactor Term (Thesaurus), Text and Raw queries to work with private fields
...
Also fix a bug in QueryHelper::applyBooleanClause()
2015-07-10 20:58:37 +02:00
Benoît Burnichon
afbacaa640
set_original_name wasn't working as expected. Added test.
2015-07-10 19:06:10 +02:00