Mathieu Darse
dc2c9f8c7f
Refactor thesaurus query build
...
- Look for text nodes and infer the concepts behind term using thesaurus
- Use value objects for thesaurus terms and concepts
- Pass a QueryContext holding allowed fields and locales informations when building the Elasticsearch query
- Change type hinting and name of query building method on nodes
- Remove unused method Node#isFullTextOnly()
- Move getFieldsStructure from RecordIndexer to RecordHelper for reusing field structure in SearchEngine
2015-01-20 15:05:15 +01:00
Mathieu Darse
f283bf01d1
WIP Improve thesaurus relevency by filtering low score
2015-01-20 14:44:00 +01:00
Mathieu Darse
2c0119b010
Change field representation in dumps
2015-01-20 14:44:00 +01:00
Mathieu Darse
d0b3995a33
Text nodes extraction from queries
2015-01-20 14:44:00 +01:00
Mathieu Darse
0ddafc253b
Merge pull request #17 from nlegoff/thesaurus_indexing
...
Fix thesaurus indexing with mutli-database
2015-01-02 18:20:27 +01:00
Nicolas Le Goff
a0b3cb3a20
Fix acl filter query
2015-01-02 11:20:17 +01:00
Nicolas Le Goff
49861939fa
id must be unique
2014-12-31 14:12:31 +01:00
Mathieu Darse
0e2c64cc54
Merge pull request #8 from nlegoff/search-rights
...
Apply ACL restriction filters for a search query
2014-12-30 19:36:26 +01:00
Nicolas Le Goff
7cc204f2ba
Apply ACL restriction filters for a search query
2014-12-30 19:32:46 +01:00
Nicolas Le Goff
cdecfcd0ad
Add original name as default title
2014-12-30 17:53:33 +01:00
Mathieu Darse
1f1264ba54
Merge pull request #9 from nlegoff/flags
...
Add flags property
2014-12-29 11:34:21 +01:00
Mathieu Darse
6ada8bcb1e
Merge pull request #10 from nlegoff/base-name
...
Add collection name
2014-12-29 11:15:54 +01:00
Nicolas Le Goff
1763ba5934
Add collection name
2014-12-26 15:26:03 +01:00
Nicolas Le Goff
fc7221fdbc
Add flags property
2014-12-26 15:06:30 +01:00
Mathieu Darse
4ce9bdd105
Add missing NullQueryNode class on last commit
2014-12-23 18:05:47 +01:00
Mathieu Darse
9fff4fdbc0
Allow empty queries (match all)
2014-12-17 23:17:07 +01:00
Mathieu Darse
65d4334dd1
Thesaurus term inference command
2014-12-15 12:25:18 +01:00
Nicolas Le Goff
4a88d3845c
By ref
2014-12-04 11:48:12 +01:00
Nicolas Le Goff
4059f738e7
Typo
2014-12-04 11:48:12 +01:00
Nicolas Le Goff
c1b1d0db74
Use get_in function
2014-12-04 11:48:11 +01:00
Nicolas Le Goff
37398816bb
Fix record hydration
2014-12-04 11:48:11 +01:00
Nicolas Le Goff
15a03f647d
Update according to @mdarse comments
2014-12-04 11:48:09 +01:00
Nicolas Le Goff
1dddcbd3c6
Handle substitution
2014-12-04 11:48:09 +01:00
Nicolas Le Goff
392ff21d51
Clean
2014-12-04 11:48:08 +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
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