Commit Graph

2910 Commits

Author SHA1 Message Date
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
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
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
5f7edb5be9 Merge branch 'master' into elastic-indexer
Conflicts:
	.gitignore
2014-10-06 18:24:58 +02:00
Damien Alexandre
2c9bd86d2a Merge remote-tracking branch 'upstream/master' 2014-10-06 18:23:23 +02:00
Damien Alexandre
e8ac0df198 Merge branch 'master' of github.com:mdarse/Phraseanet 2014-10-06 18:22:56 +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
Damien Alexandre
48928b60c2 PHRAS-302 Add concept path to records 2014-10-06 13:56:51 +02:00
Damien Alexandre
b7bcfb599b Fix namespace issue on \DomXpath 2014-10-06 10:27:01 +02:00
Damien Alexandre
4a09e9d52c The thesaurus is only asked on fulltext search only mode 2014-09-23 19:20:14 +02:00
Damien Alexandre
5c1a08285a Fix grammar to accept accents and other query complexities 2014-09-23 18:16:41 +02:00
Damien Alexandre
22627d328e Start querying the thesaurus, bring back synomyns and paths 2014-09-23 15:23:44 +02:00
Damien Alexandre
f91dd7346d Inject application locales and set the appropriate mapping 2014-09-23 12:18:36 +02:00
Damien Alexandre
3818548114 Add the list of fields each term is related to on the terms 2014-09-23 11:46:53 +02:00
Damien Alexandre
4ebe989933 Move the build query script (and tidy up term indexer) 2014-09-22 18:12:25 +02:00
Damien Alexandre
4de826771b Switch all query parts to multi-fields match (will be used later) 2014-09-22 17:55:33 +02:00
Damien Alexandre
9d2f01bca8 Fix AST namespace import 2014-09-22 17:11:33 +02:00
Damien Alexandre
1b8ae26c64 Improve jison script, run the update parser 2014-09-22 16:58:50 +02:00
Damien Alexandre
4a051e4e42 Plug the query parsed with the query params and execute 2014-09-22 13:18:32 +02:00
Damien Alexandre
35be34db50 Merge remote-tracking branch 'origin/master' into elastic-indexer 2014-09-22 11:59:11 +02:00
Mathieu Darse
e6d159d6ec Merge pull request #3 from mdarse/query-parser
Query parser first implementation
2014-09-22 11:50:17 +02:00
Damien Alexandre
e31b138e2f Set back the logger on Elasticsearch client, not pleased with the format 2014-09-22 11:34:14 +02:00
Mathieu Darse
530c065a42 Unprefixify 2014-09-22 10:18:04 +02:00
Mathieu Darse
bc22dfcd6d WIP Thesaurus terms linking 2014-09-22 10:17:53 +02:00
Mathieu Darse
c3e2c25787 Thesaurus terms indexing 2014-09-16 16:13:17 +02:00
Mathieu Darse
84d09f1b54 Add "--force" option to index drop command 2014-09-16 16:10:17 +02:00
Mathieu Darse
cd2cb3ad0e Only the main indexer should flush bulk operation 2014-09-16 16:08:54 +02:00
Mathieu Darse
e34e4ce255 Thesaurus flattening using hierarchical visitor 2014-09-15 19:11:45 +02:00
Mathieu Darse
eadf0f2396 Add string utils 2014-09-15 19:08:26 +02:00
Mathieu Darse
285826eb87 Use DI for indexer & share bulk operation 2014-09-10 17:34:15 +02:00
Mathieu Darse
de8e9e3bfc Refactor search engine provider 2014-09-10 16:45:22 +02:00