Commit Graph

359 Commits

Author SHA1 Message Date
Nicolas Le Goff
973d7f68a2 Fix subdef path indexing 2015-03-12 20:10:13 +01:00
Nicolas Le Goff
315e780fb9 Merge pull request #1298 from mdarse/facet-collections
Add collection facet
2015-03-12 19:49:05 +01:00
Mathieu Darse
0ec75c85b3 Add collection facet 2015-03-12 19:47:31 +01:00
Mathieu Darse
03a4029614 Lower min score since new multi field raised TF 2015-03-12 19:14:22 +01:00
Mathieu Darse
71c7fd8adb Enhance thesaurus strict mode 2015-03-12 19:13:13 +01:00
Nicolas Le Goff
c5a94e6eed Merge pull request #1267 from bburnichon/feature/insight-fixes
[WIP] Insight fixes
2015-03-12 17:13:12 +01:00
Nicolas Le Goff
d80e39270d Merge pull request #1295 from jygaulier/MINOR-FIX-1
minor fix
2015-03-12 17:12:44 +01:00
Nicolas Le Goff
0da5d16aeb Merge pull request #1294 from mdarse/candidates-empty
Handle case when cterms XML doesn't exist yet
2015-03-12 17:12:39 +01:00
Jean-Yves Gaulier
ff83ee8cb0 minor fix 2015-03-12 17:08:39 +01:00
Mathieu Darse
fc3c81f350 Handle case when cterms XML doesn't exist yet 2015-03-12 16:41:25 +01:00
Benoît Burnichon
135b2fcaff Remove now useless dependency 2015-03-12 15:08:25 +01:00
Nicolas Le Goff
743dda54b6 Merge pull request #1291 from mdarse/query-and-operator
Use conjonction for coalesced words in text nodes
2015-03-12 13:28:13 +01:00
Mathieu Darse
99e61d6368 Use conjonction for coalesced words in text nodes 2015-03-12 11:41:19 +01:00
Nicolas Le Goff
ae26a9563f Merge pull request #1285 from mdarse/es-bulk-throw-error
Throw on failing bulk operation item
2015-03-11 21:11:17 +01:00
Mathieu Darse
3974e24888 Fix indexing issue after first candidate term in a new field 2015-03-11 17:10:20 +01:00
Mathieu Darse
4d7ea8debb Throw on failing bulk operation item 2015-03-11 17:06:51 +01:00
Benoît Burnichon
118bb2f03c Some fixup for ES instance 2015-03-11 15:22:20 +01:00
Mathieu Darse
400ecad8e6 Use thesaurus bulk API for indexing 2015-03-10 14:53:32 +01:00
Mathieu Darse
89c23ec4ae Resolve indexing performance issues with candidate terms 2015-03-10 14:53:32 +01:00
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