Commit Graph

2969 Commits

Author SHA1 Message Date
Nicolas Le Goff
e3e7201700 Update Record Interface 2014-12-04 11:48:07 +01:00
Nicolas Le Goff
eb67f67c95 Add ESRecordENtity 2014-12-04 11:48:06 +01:00
Nicolas Le Goff
957f314a07 Delete Record Entities 2014-12-04 11:48:06 +01:00
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
Nicolas Le Goff
042da9d43e Update record index once subdef has been made 2014-12-04 11:48:05 +01:00
Nicolas Le Goff
3f79f8f548 Add dumn entity hydrator 2014-12-04 11:48:04 +01:00
Nicolas Le Goff
f3f472b0c1 Add record Entity 2014-12-04 11:48:04 +01:00
Nicolas Le Goff
01516a5dc0 Add new RecordInterface 2014-12-04 11:48:04 +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
c535664c0f Add compiler AST dump to debug command 2014-11-26 13:11:58 +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
2f890bcf49 Oups, debug code 2014-10-13 19:17:53 +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
Nicolas Le Goff
10a83bc6c4 Fix latest merge 2014-10-13 12:58:20 +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