Commit Graph

3325 Commits

Author SHA1 Message Date
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
Nicolas Le Goff
709af5bba0 Optim 2015-02-27 16:09:10 +01:00
Nicolas Le Goff
2924d8f29f Fix mount database 2015-02-27 16:08:53 +01:00
Nicolas Le Goff
95211d8875 Remove unused stuff 2015-02-27 16:08:40 +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
a96cc7ee26 Add query parsing timings 2015-02-25 16:12:58 +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
4376ccb230 Fix record preview 2015-02-24 15:28:14 +01:00
Nicolas Le Goff
cb96964078 Fix subdef generation 2015-02-24 15:27:31 +01:00
Nicolas Le Goff
6d580ac5fd Fix bitfield key 2015-02-24 15:27:04 +01:00
Nicolas Le Goff
12e4010943 Fix bad token for write metadata 2015-02-24 15:26:18 +01:00
Nicolas Le Goff
7299928840 Load service provider if app is setup 2015-02-24 15:25:43 +01:00
Nicolas Le Goff
aac3c5de5c Merge pull request #1258 from kwemi/design-update-v1
980px layout
2015-02-24 11:53:42 +01:00
Olivier Mayer
e028b4c7d5 980px layout 2015-02-24 18:18:31 +09: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
938a83b967 PHRAS-29 #fix Add creation story in API 2015-02-23 14:44:16 +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
Nicolas Le Goff
c6bab1182d Merge pull request #1250 from kwemi/design-update-v1
Design update v1
2015-02-19 10:54:18 +01:00
Olivier Mayer
1f2d79355f Result number
fix #4
2015-02-19 18:29:45 +09:00
Mathieu Darse
57f3e3dcf0 Shorten remaining flag constants and remove legacy ones 2015-02-18 19:04:10 +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