Commit Graph

140 Commits

Author SHA1 Message Date
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
97f2e66698 Merge 4.0 branch 2016-12-05 17:04:54 +01:00
Thibaud Fabre
b5bbb1851f Merge branch 4.0 2016-12-05 15:26:48 +01:00
Jean-Yves Gaulier
229c80fe74 PHRAS-1260_INDEX-WIDTH-HEIGHT
- new : added size (filesize) of document to es
 - new : methods getWidth(),... to record_adapter
 - fix : template
2016-11-03 15:27:57 +01:00
Jean-Yves Gaulier
68ab86d9d4 PHRAS-1260_INDEX-WIDTH-HEIGHT
- new : added with & height of document to es
2016-11-02 17:29:20 +01:00
Thibaud Fabre
e1fc53dc64 Clean up mapping build process 2016-10-27 15:17:33 +02:00
Thibaud Fabre
ce59523405 Add specialized complex mapping for property maps 2016-10-27 15:15:54 +02:00
Thibaud Fabre
165877e50a Fix infinite recursion error 2016-10-27 13:14:05 +02:00
Thibaud Fabre
cba5423822 Fix concept_path node in index structure 2016-10-27 13:04:47 +02:00
Thibaud Fabre
c133b42716 Refactoring
- Split search engine service registration into sub-methods
- Remove unused properties
- Fix coding style
2016-10-19 13:31:17 +02:00
Thibaud Fabre
f5452eac1e Check for undefined key 2016-10-19 13:31:17 +02:00
Thibaud Fabre
299b24d4fb Update class for mapping type constants 2016-10-19 13:31:17 +02:00
Thibaud Fabre
6e88b97c55 Extract record index and term index from respective indexers 2016-10-19 13:31:16 +02:00
Thibaud Fabre
f2cfe93f8c Finish refactoring mapping creation 2016-10-19 13:29:54 +02:00
Thibaud Fabre
7a71886dc9 Start extracting specialized field mapping classes from mapping 2016-10-19 13:29:54 +02:00
Thibaud Fabre
8fb1cd9944 Coding style and docblocks 2016-10-19 13:29:54 +02:00
Thibaud Fabre
9c2e1cb459 Add stub record index data structure 2016-10-19 13:29:54 +02:00
Thibaud Fabre
246503ee42 Extract index data structure from indexer 2016-10-19 13:29:54 +02:00
Thibaud Fabre
11d25021cc CS fixes 2016-10-19 06:51:37 +02:00
Thibaud Fabre
79a9411923 Code architecture
- Remove circular dependency between indexer and record indexer
- Restore interface type hints on indexer methods
2016-10-18 21:17:38 +02:00
Jean-Yves Gaulier
cf40c99ea7 PHRAS-714_thesaurus_indexation
- new : if the thesaurus has been modified since it's last indexation, it will be re-indexed as soon a record is to be indexed.
 - nb : after thesaurus modification, the databox MUST be manually re-indexed (which will reindex the thesaurus before)
 - todo : remove useless dialog boxes from thesaurus app (... "this term was..."  "...add with/out reindexing ?..."). To be done in the future app using future routes.
2016-10-12 18:42:16 +02:00
Benoît Burnichon
cd80e9e1ed Remove unused appbox parameter 2016-03-15 19:11:56 +01:00
Benoît Burnichon
57aab7aa85 Fixup PHPCS 2016-03-15 17:47:13 +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
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
0cd9933ac6 Handle search with on timestamp
PHRAS-689
2015-11-13 10:28:05 +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
aff2819f82 Dynamically create metadata tags mapping 2015-11-09 19:06:55 +01:00
Jean-Yves Gaulier
2efa57e4be PHRAS-715 #time 6h
add databox_id to filter
2015-10-08 20:18:19 +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
6c4a1460b5 Remove debug stuff 2015-09-29 12:06:55 +02:00
Mathieu Darse
4424d43b18 Put flags in ES structure 2015-09-28 20:27:29 +02:00
Jean-Yves Gaulier
e36eaae2c1 PHRAS-742 #time 10m
fix missing argument when indexing with thesaurus
2015-09-24 16:04:32 +02:00
Jean-Yves Gaulier
5947468eaa PHRAS-716 #time 10m 2015-09-21 16:31:55 +02:00
Jean-Yves Gaulier
a02b3961bf PHRAS-716 #time 1d
fix : operation list by databox
2015-09-21 15:58:43 +02:00
Jean-Yves Gaulier
5146881076 PHRAS-716 #time 3d
fix : admin/base progress bar (indexation)
fix : reindex button
fix : indexation does not skip records between fetches
2015-09-17 11:03:42 +02:00
Mathieu Darse
1fa0b511b1 Remove performance degradation with some subfields 2015-08-31 19:18:10 +02:00
Mathieu Darse
a51fe87f11 Highlight using raw field data too 2015-08-31 19:17:46 +02:00
Mathieu Darse
5bbd4bfe33 Fix values lookup on thesaurus hydrator 2015-07-24 18:13:18 +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
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
Jean-Yves Gaulier
90ae2f2474 PHRAS-454 #time 4h 2015-06-22 17:41:32 +02:00
jygaulier
e4b5b86d97 Merge pull request #1397 from jygaulier/PHRAS-582_INDEX_REVERSE_ORDER
PHRAS-582 #time 10 m
2015-06-22 14:30:44 +02:00
Mathieu Darse
418eac8e5a Only create thesaurus filters if needed 2015-06-19 21:53:08 +02:00