Commit Graph

780 Commits

Author SHA1 Message Date
Aina Sitraka
de120780f6 PHRAS-3826 ci test (#4300)
switching docker build image and unit test run on github action
2023-04-29 22:13:08 +02:00
jygaulier
b4066c6362 PHRAS-3645_candidates-special-chars (#4046)
PHRAS-3645 : fix : thesaurus indexation _before_ fetch record (prevents double-candidates)
PHRAS-3645 : fix : <term (context)> parsing in php (fix first special char)
2022-06-03 12:31:21 +02:00
Aina Sitraka
2b4c064f62 PHRAS-3674 Prod - Record Information - Add Databox name in information (#4020)
* add databox name in record information

* fix databox name info
2022-05-17 17:35:51 +02:00
jygaulier
2d74b176ae Merge branch 'master' into PHRAS-3651_tech-facets-no-results 2022-03-09 18:11:08 +01:00
jygaulier
360657e537 PHRAS-3651_tech-facets-no-results: fix 0 results on some facets 2022-03-09 18:08:09 +01:00
aynsix
642c716c0e translate label 2022-03-09 14:49:08 +03:00
Nicolas Maillat
bdcbd7c0e0 Revert " "PHRAS-3215 : Revert add ThumbnailOrientation facet ; add strings"" 2022-03-08 11:49:36 +01:00
Nicolas Maillat
ccd460be27 Revert "PHRAS-3215 : add ThumbnailOrientation facet ; add strings" 2022-02-25 23:10:23 +01:00
jygaulier
406a0ce953 PHRAS-3602 : add ThumbnailOrientation facet ; add strings 2022-02-25 10:11:49 +01:00
aynsix
09ec714009 PHRAS-3285 fix stock cterm 2022-01-18 18:40:51 +03:00
aynsix
9033ce28ee fix empty to unset 2021-12-14 17:49:49 +03:00
Nicolas Maillat
8a32f16884 Merge branch 'master' into PHRAS-3584_story-cover-link 2021-12-03 16:11:22 +01:00
jygaulier
12cb9b582b PHRAS-3584
add databox.record.cover_record_id
add get/set coverRecordId() to record adapter
include cover_record_id to api results (V1 & V3)
2021-11-25 11:52:11 +01:00
aynsix
213dcd8597 Merge branch 'master' of https://github.com/alchemy-fr/Phraseanet into PHRAS-3555-more-webhook 2021-11-22 09:43:52 +03:00
jygaulier
36ce3905d1 Merge branch 'master' into PHRAS-3583_sort-on-dates 2021-11-16 21:56:50 +01:00
jygaulier
ce3a28b5cd PHRAS-3583
define a custom "sort" analyzer (whole value, lowercase, no diacritics)
fix sort by type (string/date/number)
fix sort on business fields (use "private_caption.field")
sort string fields on ".sort" sub-value (in place of ".raw")
add option for docker/es to activate scripting on search (disabled for now)
2021-11-16 20:52:54 +01:00
aynsix
074920353a PHRAS-3555 add more webhook events 2021-11-16 17:15:49 +03:00
jygaulier
a43b94684e PHRAS-3583
add missing "raw" mapping values to date & numbers
2021-11-15 18:55:03 +01:00
jygaulier
d7d731a496 PHRAS-3519_filesystem-atomic-move
WIP
extend filesystem (no change yet)
2021-10-06 18:23:52 +02:00
jygaulier
ddf075f6c8 PHRAS-3516-advanced-search-sort-result
sort text fields on ".raw" version (same as phr4.0)
2021-09-14 10:11:13 +02:00
jygaulier
5915928f7c PHRAS-3425_fix-translation-dump_MASTER
commit xlf files
2021-04-22 21:03:22 +02:00
jygaulier
a3ccc12640 PHRAS-3426_translations-ignored_MASTER
- fix : crashed when @Ignore annotation was used in form item
- fix : translate "help_message"s from forms
- fix : replace many "string-typed" form elements by "type::class"
dump translations (4 new strings)
2021-04-22 19:32:23 +02:00
Nicolas Maillat
ee40d233a8 Merge branch 'master' into PHRAS-3425_fix-translation-dump_MASTER 2021-04-22 11:01:39 +02:00
jygaulier
fff3f284bb PHRAS-3425_fix-translation-dump_MASTER
fix : bump patched jms/translation-bundle (forked)
fix : all errors ; most warnings
2021-04-21 15:02:39 +02:00
jygaulier
7c90ad2ccc PHRAS-3417_search-empty-fields_MASTER
fix : unit tests
2021-04-20 20:34:52 +02:00
jygaulier
bfc984266c PHRAS-3417_search-empty-fields_MASTER
change : _any_ pseudo-value is changed for _filled_
2021-04-20 19:29:47 +02:00
jygaulier
71e2ca2e57 PHRAS-3417_search-empty-fields_MASTER
add : user setting
todo : translate strings
- prod : user setting dlg  : "index::advance_search: show-unset-field-facet"
- prod : workzone/unset field facet : "prod:workzone:facetstab:unset_field_facet_label_(%s)" where %s is the name of the field
2021-04-15 19:23:03 +02:00
jygaulier
e37ce3e255 [skip ci] PHRAS-3417_search-empty-fields_MASTER
add : facet for empty field

wip/todo : unit test ; conf ; translate "unset_field_facet_label"
2021-04-15 17:31:22 +02:00
jygaulier
1e7092b86a [skip ci] PHRAS-3417_search-empty-fields_MASTER
add : special values "_empty_" and "_any_" to search empty field or not-empty field. Works only with = operator.
e.g.: Title=_empty_

wip/todo : unit test ; facet
2021-04-15 17:31:22 +02:00
jygaulier
374e617d2e PHRAS-3389_use-only-conceptpaths-from-selected-dbs_MASTER
fix : fixed preview was not displayed (caused by missing di)
2021-04-14 09:56:16 +02:00
jygaulier
3eb2fd6688 PHRAS-3389_use-only-conceptpaths-from-selected-dbs_MASTER
fix : fixed "query_parsing_exception: [_na] query malformed, must start with start_object"
2021-04-13 10:59:56 +02:00
jygaulier
00979f2d6d PHRAS-3389_use-only-conceptpaths-from-selected-dbs_MASTER
fix : fixed [] search (thesaurus) caused by bad thesaurus hydration during record indexing
2021-04-12 15:57:44 +02:00
jygaulier
63bee24775 PHRAS-3389_use-only-conceptpaths-from-selected-dbs_MASTER
fix : search only concept-paths from the relevant thesaurus
fix : search only fields from the relevant databoxes (collections)
2021-04-08 18:15:27 +02:00
jygaulier
0e7daab638 PHRAS-3412_bad-gps-crash-indexation_MASTER
fix : PHRAS-3412 fix warning
2021-04-01 15:47:09 +02:00
jygaulier
27433c769f PHRAS-3412_bad-gps-crash-indexation_MASTER
fix : PHRAS-3412 bad gps values are ignored
2021-04-01 15:45:40 +02:00
aina esokia
957f9712ad PHRAS-3279 2020-12-10 14:24:22 +03:00
aina esokia
36f2e1a640 PHRAS-3279 2020-12-09 17:13:32 +03:00
aina esokia
c1090021dd fix 2020-12-09 17:00:49 +03:00
aina esokia
f411c715e3 PHRAS-3279 add populate_permalinks key in configuration 2020-12-09 16:48:07 +03:00
jygaulier
889471a3ff add : don't create missing permalinks during indexation (PHRAS-3279) 2020-11-24 17:23:07 +01:00
Nicolas Maillat
7b25a719b7 PHRAS-3658 enabled path 2020-11-20 10:28:19 +01:00
jygaulier
a5b2a3cc14 add : permalinks are injected in es (PHRAS-3279) 2020-11-19 21:59:29 +01:00
aina esokia
dd3784aebd PHRAS-3265 taken account max_result_window 2020-11-18 12:15:03 +03:00
jygaulier
53e116cf4f fix : conf:max_result_window (es) is now used when creating index by searchengine 2020-11-13 10:10:35 +01:00
aina esokia
908ec3c0a1 PHRAS-3265 port max_result_window 2020-11-11 15:16:25 +03:00
jygaulier
cfd385498d - add : cache on es "tags"
- removed : variable globalstructure construction (WITH_FIELDS, WITH_FLAGS...) (was unused)
- cleanup (stopwatches etc)
2020-11-05 19:54:14 +01:00
jygaulier
5ae105d9c2 - fix : error during populate
- add : clear structure cache when structure (field or sb) is changed
2020-11-05 11:27:39 +01:00
jygaulier
4d961e2dbe - fix : added cache to es "globalstructure" construction 2020-11-04 11:35:36 +01:00
jygaulier
e36b0785ee - add some simple cache
- disable check of conf/searchengine/type
- faster construction of concept-paths
- pass strucure to es as factory (useless, to be reverted)
- add stopwatch (log into file, disabled for now)
2020-10-30 11:00:17 +01:00
jygaulier
b0adb104d1 - remove "path" from subdefs 2020-10-27 19:30:11 +01:00