Commit Graph

383 Commits

Author SHA1 Message Date
Nicolas Maillat
8a977db621 Audio sample rate may not be an integer. 2015-04-02 18:52:41 +02:00
Benoît Burnichon
7af53aaef4 Merge pull request #1328 from mdarse/qp-ina-oreo
Parsing of INA/OREO queries
2015-03-30 17:53:15 +02:00
Benoît Burnichon
8008271964 Merge pull request #1330 from mdarse/array-unique-php55
Proper date fields lazy-loading
2015-03-30 17:47:18 +02:00
Mathieu Darse
171eec6dcb Proper date fields lazy-loading 2015-03-30 17:41:12 +02:00
Mathieu Darse
a9a1d44447 Fix term/text/context nodes merging 2015-03-30 16:30:12 +02:00
Mathieu Darse
fc6b61e159 Fix quoted text node generation 2015-03-30 16:30:12 +02:00
Mathieu Darse
99e62f7530 QueryParser -> QueryCompiler 2015-03-30 16:17:40 +02:00
Mathieu Darse
470804659b Use a single transliterator to do ASCII folding
Move in string utilities too.
2015-03-30 14:46:43 +02:00
Benoît Burnichon
a814208a6b Merge pull request #1315 from mdarse/cross-fields-multi-word-query
Working cross-fields queries with multiple words (without operators)
2015-03-24 18:42:13 +01:00
Mathieu Darse
771aa5b765 Working cross-fields queries with multiple words (without operators)
- Index the full content of a record in a (private_)content_all field
- Handle all fields wide search as a special-case (drastically simplify queries)
- QueryContext doesn't take all allowed fields anymore, but whether private
fields are allowed or not. Since private fields are namespaced, field level
restriction is not needed anymore.
2015-03-24 17:52:30 +01:00
Mathieu Darse
f2f29c4290 Command to update index mapping 2015-03-23 19:12:59 +01:00
Mathieu Darse
a3dae412f1 Index MIME type 2015-03-19 19:00:56 +01:00
Benoît Burnichon
31d5237b5d Merge pull request #1303 from bburnichon/feature/use-phpunit4
use phpunit4
2015-03-19 16:57:00 +01:00
Benoît Burnichon
5d651fc782 Merge pull request #1308 from mdarse/facets-smart-escaping
Smart facet value escaping (the return)
2015-03-19 16:46:44 +01:00
Mathieu Darse
679106d226 Fix typos and check-in Escaper 2015-03-19 16:41:53 +01:00
Benoît Burnichon
8508c81e2d Merge pull request #1305 from mdarse/facets-smart-escaping
Smart facet value escaping
2015-03-19 15:35:57 +01:00
Mathieu Darse
59d2c86a2a Clean ElasticSearchEngine 2015-03-19 13:44:24 +01:00
Mathieu Darse
b1a03ae566 Smart facet value escaping 2015-03-19 13:42:04 +01:00
Mathieu Darse
67dcd09a39 Add "collection:" query support 2015-03-17 19:45:24 +01:00
Mathieu Darse
d766dccfff Remove useless dynamic search dispatch 2015-03-17 19:45:24 +01:00
Mathieu Darse
4419b1b3a7 Refactor facets handling 2015-03-17 19:45:14 +01:00
Benoît Burnichon
cdc7f743d5 Remove staticExpects to work with PHPUnit ~4.5 2015-03-17 13:08:27 +01:00
Benoît Burnichon
6c825f4582 Add logger to Elastic SearchEngine 2015-03-16 13:52:28 +01:00
Benoît Burnichon
ef4b61229e SearchEngineOptions returns filtered array collection
PHPUnit 3.7 hangs out on comparing objects with different keys.
Change test method to compare a single object.
2015-03-13 11:13:04 +01:00
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