Nicolas Le Goff
ed3ffb59a6
Merge remote-tracking branch 'upstream/master' into 20150306-elastic-indexer
...
Conflicts:
bin/console
bower.json
composer.json
composer.lock
lib/Alchemy/Phrasea/Application.php
lib/Alchemy/Phrasea/Border/Manager.php
lib/Alchemy/Phrasea/Controller/Api/V1.php
lib/Alchemy/Phrasea/Core/PhraseaEvents.php
lib/Alchemy/Phrasea/SearchEngine/SearchEngineOptions.php
lib/classes/caption/field.php
lib/classes/record/Interface.php
templates/web/prod/index.html.twig
www/skins/prod/000000/prodcolor.css
2015-03-10 14:36:31 +01:00
Mathieu Darse
bcff55962c
Merge pull request #32 from nlegoff/pr-facets
...
Add dynamic facets query & take care of ACL for business fields
2015-03-10 12:03:34 +01:00
Mathieu Darse
3599b05950
Some tidying / cleanup
2015-03-10 12:02:24 +01:00
Mathieu Darse
d5137bcd11
Merge pull request #36 from nlegoff/fix-use
...
Fix use statement
2015-03-10 11:57:44 +01:00
Mathieu Darse
5d3f8b3123
Merge pull request #35 from nlegoff/poplate-by-database
...
Add possibilty to explicitely set database to populate
2015-03-10 11:55:10 +01:00
Mathieu Darse
e889d19b7d
Filter databoxes earlier (in Indexer) and databox id error handling
2015-03-10 11:52:30 +01:00
Mathieu Darse
ac42daa062
Fill candidate terms while indexing
2015-03-05 14:49:26 +01:00
Mathieu Darse
fadf0abd90
Remove QueryContext fields prefixing (only used on term nodes)
2015-03-03 19:02:32 +01:00
Mathieu Darse
c917c7f952
Thesaurus matching while indexing records
...
- Add a new hydrator to ask query thesaurus on the fly
- Add a filtering system on thesaurus
- And a databox filter friend
2015-03-03 18:50:34 +01:00
Nicolas Le Goff
6ddff1923e
Fix use stmt
2015-02-27 16:24:19 +01:00
Nicolas Le Goff
4daf40029a
Add possibilty to explicitely set database to populate
2015-02-27 16:23:26 +01:00
Mathieu Darse
e420ad2997
Fix thesaurus indexing crash when XML contains spaces
2015-02-26 19:10:55 +01:00
Mathieu Darse
6bf03de2ca
Refactor metadata indexing
...
- Caption fields are multi-valued by default
- Simpler query
- Technical data (EXIF) is always single-valued
- Error handling
2015-02-26 17:09:16 +01:00
Mathieu Darse
339605167c
Ability to only populate thesaurus or records index
2015-02-26 13:54:00 +01:00
Mathieu Darse
387c00cee9
Use QueryException for non existing fields
2015-02-26 13:53:35 +01:00
Nicolas Le Goff
4f66588600
Add dynamic facets query
2015-02-26 12:28:22 +01:00
Mathieu Darse
db766f2865
Handle non existing fields in query
2015-02-25 16:43:25 +01:00
Mathieu Darse
a84602f896
Move concept injection into query parser
2015-02-25 16:12:58 +01:00
Mathieu Darse
efef09e435
We don't always want to explicitly restrict caption fields
2015-02-25 16:12:39 +01:00
Mathieu Darse
2ac931c66f
Better context dump
2015-02-25 12:22:53 +01:00
Mathieu Darse
dcb8da99aa
TermNode is not a TextNode
2015-02-25 12:22:52 +01:00
Mathieu Darse
dfc386cce1
Clean query visitor text merging
2015-02-25 12:22:52 +01:00
Mathieu Darse
fe7e63b3d7
QuotedTextNode don't inherit anymore from TextNode
...
- Quoted text do not hit the thesaurus anymore
- getTextNodes() was misleading, renamed to getTermNodes()
2015-02-25 12:22:52 +01:00
Mathieu Darse
8c1848afae
Expression context support in thesaurus lookup
2015-02-25 12:22:13 +01:00
Mathieu Darse
e5bda79cf8
Bracket syntax does a thesaurus search only
2015-02-25 12:19:00 +01:00
Mathieu Darse
4d1ce3e8dc
Fix visitor issue with term expressions
2015-02-25 12:19:00 +01:00
Mathieu Darse
712850ac67
Update grammar and AST for bracket notation
2015-02-25 12:19:00 +01:00
Nicolas Le Goff
6d580ac5fd
Fix bitfield key
2015-02-24 15:27:04 +01:00
Nicolas Le Goff
5b3e699599
Merge remote-tracking branch 'upstream/3.8'
...
Conflicts:
bower.json
composer.lock
lib/Alchemy/Phrasea/Application/Api.php
lib/Alchemy/Phrasea/Controller/Prod/Lazaret.php
lib/Alchemy/Phrasea/SearchEngine/Phrasea/PhraseaEngineQueryParser.php
lib/classes/API/V1/adapter.php
lib/classes/Feed/Adapter.php
lib/classes/User/Query.php
lib/classes/patch/320alpha4b.php
templates/web/admin/statusbit.html.twig
templates/web/prod/actions/Tools/index.html.twig
templates/web/prod/index.html.twig
templates/web/prod/upload/lazaret.html.twig
templates/web/prod/upload/upload-flash.html.twig
www/scripts/apps/login/home/config.js
www/skins/prod/000000/prodcolor.css
www/skins/prod/959595/prodcolor.css
2015-02-23 19:16:56 +01:00
Mathieu Darse
29c5308556
Merge pull request #29 from nlegoff/pr-preview
...
Fix record preview in production
2015-02-23 18:19:40 +01:00
Mathieu Darse
19775d5908
Merge pull request #30 from nlegoff/pr-indexation-thesaurus
...
Fix indexation thesaurus
2015-02-23 18:19:10 +01:00
Mathieu Darse
1679595ed8
Merge pull request #33 from nlegoff/pr-fix-merge
...
Fix sql field name
2015-02-23 18:12:36 +01:00
Nicolas Le Goff
c99f2e7746
Fix sql field name
...
Signed-off-by: Mathieu Darse <mdarse@jolicode.com >
2015-02-23 17:50:26 +01:00
Nicolas Le Goff
62390b81d4
Fix indexation thesaurus
2015-02-20 17:27:55 +01:00
Nicolas Le Goff
add59cb2f7
Set default sort to relevance if sort option is not provided
2015-02-20 17:27:00 +01:00
Nicolas Le Goff
50165bd894
Fix record preview in production
2015-02-20 17:25:50 +01:00
Nicolas Le Goff
111755fa9b
Refactor status display
2015-02-19 15:14:23 +01:00
Mathieu Darse
47e9605aab
Merge pull request #28 from mdarse/reindexing-events
...
Record lifecycle events and handling
2015-02-19 15:03:43 +01:00
Mathieu Darse
733bdeb05d
More imperative style indexer methods
2015-02-18 18:58:45 +01:00
Mathieu Darse
2faec3686e
Refactor indexer job
2015-02-18 18:58:19 +01:00
Mathieu Darse
23ccca28c7
Fetcher post fetch hook
2015-02-18 18:53:53 +01:00
Mathieu Darse
9dc653c543
Move bulk operation into indexer namespace
2015-02-18 12:19:10 +01:00
Mathieu Darse
123b700685
Move fetcher with indexer stuff and his friend classes
2015-02-18 12:06:04 +01:00
Mathieu Darse
22ab82fe29
Remove RecordPoolFetcher
2015-02-18 11:58:42 +01:00
Mathieu Darse
cf33a25444
Fix indexing queues not being flushed
2015-02-18 11:56:15 +01:00
Mathieu Darse
3f440d2184
Throw on legacy search engine indexing requests
2015-02-18 11:55:21 +01:00
Mathieu Darse
04ba494ed2
Bulk errors can be thrown
2015-02-17 19:22:03 +01:00
Mathieu Darse
c341b12659
Implement bulk delete
2015-02-17 19:21:09 +01:00
Mathieu Darse
f422902887
Refactor record fetching
...
- Extract hydration responsibility into other specialized objects
- Delegate queries to FetcherDelegateInterface to keep a single fetcher
- Fix RecordDeletedEvent crashing
2015-02-17 18:38:17 +01:00
Nicolas Le Goff
b4a2796200
Reduce call to ACL's
2015-02-11 20:20:02 +01:00