Commit Graph

242 Commits

Author SHA1 Message Date
Nicolas Le Goff
531bd9cc25 Fetch record title 2014-12-04 11:48:06 +01:00
Nicolas Le Goff
87cc2b7a82 Add record title mapping 2014-12-04 11:48:06 +01:00
Nicolas Le Goff
14d91144a0 Fetch subdefs as well for display purpose 2014-12-04 11:48:05 +01:00
Nicolas Le Goff
0edf993472 Add minimal subdef mapping 2014-12-04 11:48:05 +01:00
Nicolas Le Goff
5d0922039a Add has method to check if mapping already exists 2014-12-04 11:48:05 +01:00
Nicolas Le Goff
d666880ada Use ES hydrator to pouplate record from ES query 2014-12-04 11:48:05 +01:00
Mathieu Darse
d1a4f05547 Merge branch 'hoa-compiler' into elastic-indexer
Conflicts:
	lib/Alchemy/Phrasea/SearchEngine/Elastic/ElasticSearchEngine.php
2014-12-04 11:43:17 +01:00
Mathieu Darse
7cce87b1c0 Fix isFullTextOnly() 2014-12-03 19:35:46 +01:00
Mathieu Darse
e53e92da63 Plug new parser on search engine 2014-12-03 19:35:10 +01:00
Mathieu Darse
b057efb290 Query command option to disable AST postprocessing 2014-12-03 17:23:00 +01:00
Mathieu Darse
2aa0b0f1a8 Proper left-associativity in query operators
Remove previous lambda/curring based method
Grammar was simplified for EXCEPT case
Cleanup unused constants
2014-12-03 17:16:22 +01:00
Mathieu Darse
a08508ae85 Better query error handling 2014-11-27 18:33:36 +01:00
Mathieu Darse
e9c9fe2376 Add Except query support 2014-11-27 18:27:30 +01:00
Mathieu Darse
810a496521 Refactor query visitor 2014-11-26 11:42:39 +01:00
Mathieu Darse
c3867d412e Search\SearchQuery -> Search\Query 2014-11-26 11:39:56 +01:00
Damien Alexandre
f2e3458567 Tests are running \o/ + sorting should be better 2014-11-21 19:05:38 +01:00
Mathieu Darse
0908b38a40 Cleanup QueryParser & SearchQuery 2014-11-20 18:21:16 +01:00
Mathieu Darse
7d9b633043 New query debug command 2014-11-10 18:08:39 +01:00
Damien Alexandre
f5f575dcad Improve pertinency in results matching a partial path 2014-11-07 18:24:54 +01:00
Damien Alexandre
6c47f63721 Fix a bug when the thesaurus path were only using the last tag!! 2014-11-07 15:46:47 +01:00
Damien Alexandre
a69ba34393 Improve query fields path by boosting some signals
Also remove paths with very low score
2014-11-07 12:07:04 +01:00
Mathieu Darse
532f240ffd Parse tree visitor to build ES query 2014-11-06 19:11:06 +01:00
Mathieu Darse
0bbd35dc02 AST revamp 2014-11-06 19:06:34 +01:00
Mathieu Darse
3ec520ed11 New query parser between Hoa compiler and search engine 2014-11-06 18:37:53 +01:00
Mathieu Darse
3266d8d9ac WIP on PP grammar 2014-10-22 11:15:56 +02:00
Mathieu Darse
5b24664001 Merge branch 'master' into elastic-indexer
Conflicts:
	bin/console
2014-10-15 12:18:44 +02:00
Mathieu Darse
85102bfce7 Merge remote-tracking branch 'upstream/master' 2014-10-15 12:14:08 +02:00
Damien Alexandre
e88a219cb6 Increase the number of aggr for debug 2014-10-14 19:33:16 +02:00
Damien Alexandre
f196155049 Fix PHRAS-322, add result debug informations (aggregations) 2014-10-14 18:51:02 +02:00
Damien Alexandre
3438295ca3 Remove serializer from dependencies and fix index time display 2014-10-14 16:27:41 +02:00
Damien Alexandre
437f90fd66 Rewrite the way we handle base_id, can now works with more than 1 2014-10-14 14:54:50 +02:00
Damien Alexandre
52843f6ff1 Fix multi base search with fixed filters 2014-10-14 11:26:07 +02:00
Damien Alexandre
403c83b462 Fix indexing single record on post upload 2014-10-13 19:17:20 +02:00
Damien Alexandre
eb7914816d WIP on singleRecord indexer and fix error on path 2014-10-13 19:05:09 +02:00
Damien Alexandre
56b5053ebb Optimize the fetch record path method 2014-10-13 17:46:25 +02:00
Damien Alexandre
7c76bc3450 Use the isAggregable new getter 2014-10-13 17:32:18 +02:00
Damien Alexandre
f018723713 Set the correct number format and improve paths finding 2014-10-13 17:11:37 +02:00
Damien Alexandre
52978e6239 More path to query 2014-10-13 17:07:32 +02:00
Damien Alexandre
814279a83e Avoid error maxClauseCount in ES when the field is too large 2014-10-13 12:00:34 +02:00
Damien Alexandre
da505504c9 Fix record indexer metadata fetching, was messed up with doctrine 2014-10-13 11:53:10 +02:00
Nicolas Le Goff
28eecf6a09 Merge branch '3.8'
Conflicts:
	.gitignore
	bin/console
	composer.json
	composer.lock
	hudson/fixtures.sql
	lib/Alchemy/Phrasea/Command/Developer/IniReset.php
	lib/Alchemy/Phrasea/Command/Setup/Install.php
	lib/Alchemy/Phrasea/Controller/Api/Oauth2.php
	lib/Alchemy/Phrasea/Controller/Api/V1.php
	lib/Alchemy/Phrasea/Controller/Prod/Export.php
	lib/Alchemy/Phrasea/Controller/Root/Login.php
	lib/Alchemy/Phrasea/Core/Provider/PhraseanetServiceProvider.php
	lib/Alchemy/Phrasea/Core/Version.php
	lib/Alchemy/Phrasea/Helper/DatabaseHelper.php
	lib/Alchemy/Phrasea/Helper/Prod.php
	lib/classes/API/OAuth2/Application.php
	lib/classes/API/V1/Interface.php
	lib/classes/API/V1/adapter.php
	lib/classes/Setup/Upgrade.php
	lib/classes/media/subdef.php
	lib/classes/task/period/RecordMover.php
	templates/web/prod/index.html.twig
	templates/web/setup/step2.html.twig
	tests/Alchemy/Tests/Phrasea/Controller/Admin/RootTest.php
	tests/Alchemy/Tests/Phrasea/Controller/Root/LoginTest.php
	tests/classes/api/v1/api_v1_adapterTest.php
	tests/db-ref.sqlite
	vagrant/vms/phraseanet-php54-nginx/puphpet/config.yaml
	vagrant/vms/phraseanet-php54-nginx/puphpet/files/exec-once/setup
2014-10-09 19:40:33 +02:00
Damien Alexandre
d693e1fe4a Add record_type story or record and fix the filter 2014-10-07 18:06:09 +02:00
Damien Alexandre
3e5e802bf9 Only sort on score by default 2014-10-07 17:03:45 +02:00
Damien Alexandre
73b85e3953 PHRAS-233 Set record flag status, fix base id filters 2014-10-07 15:57:09 +02:00
Damien Alexandre
12a22b105e Restore the true filters on status and all 2014-10-07 12:46:59 +02:00
Damien Alexandre
b15fade0fe Fix the UniqueCollection fetcher 2014-10-07 11:05:14 +02:00
Damien Alexandre
4d43fe7c2d Add databox_id search for term indexing and add context criteria 2014-10-06 18:07:23 +02:00
Damien Alexandre
a246231e09 Add score of the terms search as boost for the record search 2014-10-06 17:30:46 +02:00
Damien Alexandre
f495045125 Make the search works without paths too 2014-10-06 16:24:48 +02:00
Damien Alexandre
fe2e694216 Add stopwatch listener to monitor populate time 2014-10-06 15:49:33 +02:00