Commit Graph

312 Commits

Author SHA1 Message Date
Mathieu Darse
dcb8da99aa TermNode is not a TextNode 2015-02-25 12:22:52 +01:00
Mathieu Darse
dfc386cce1 Clean query visitor text merging 2015-02-25 12:22:52 +01:00
Mathieu Darse
fe7e63b3d7 QuotedTextNode don't inherit anymore from TextNode
- Quoted text do not hit the thesaurus anymore
- getTextNodes() was misleading, renamed to getTermNodes()
2015-02-25 12:22:52 +01:00
Mathieu Darse
8c1848afae Expression context support in thesaurus lookup 2015-02-25 12:22:13 +01:00
Mathieu Darse
e5bda79cf8 Bracket syntax does a thesaurus search only 2015-02-25 12:19:00 +01:00
Mathieu Darse
4d1ce3e8dc Fix visitor issue with term expressions 2015-02-25 12:19:00 +01:00
Mathieu Darse
712850ac67 Update grammar and AST for bracket notation 2015-02-25 12:19:00 +01:00
Nicolas Le Goff
6d580ac5fd Fix bitfield key 2015-02-24 15:27:04 +01:00
Mathieu Darse
29c5308556 Merge pull request #29 from nlegoff/pr-preview
Fix record preview in production
2015-02-23 18:19:40 +01:00
Mathieu Darse
19775d5908 Merge pull request #30 from nlegoff/pr-indexation-thesaurus
Fix indexation thesaurus
2015-02-23 18:19:10 +01:00
Mathieu Darse
1679595ed8 Merge pull request #33 from nlegoff/pr-fix-merge
Fix sql field name
2015-02-23 18:12:36 +01:00
Nicolas Le Goff
c99f2e7746 Fix sql field name
Signed-off-by: Mathieu Darse <mdarse@jolicode.com>
2015-02-23 17:50:26 +01:00
Nicolas Le Goff
62390b81d4 Fix indexation thesaurus 2015-02-20 17:27:55 +01:00
Nicolas Le Goff
add59cb2f7 Set default sort to relevance if sort option is not provided 2015-02-20 17:27:00 +01:00
Nicolas Le Goff
50165bd894 Fix record preview in production 2015-02-20 17:25:50 +01:00
Nicolas Le Goff
111755fa9b Refactor status display 2015-02-19 15:14:23 +01:00
Mathieu Darse
47e9605aab Merge pull request #28 from mdarse/reindexing-events
Record lifecycle events and handling
2015-02-19 15:03:43 +01:00
Mathieu Darse
733bdeb05d More imperative style indexer methods 2015-02-18 18:58:45 +01:00
Mathieu Darse
2faec3686e Refactor indexer job 2015-02-18 18:58:19 +01:00
Mathieu Darse
23ccca28c7 Fetcher post fetch hook 2015-02-18 18:53:53 +01:00
Mathieu Darse
9dc653c543 Move bulk operation into indexer namespace 2015-02-18 12:19:10 +01:00
Mathieu Darse
123b700685 Move fetcher with indexer stuff and his friend classes 2015-02-18 12:06:04 +01:00
Mathieu Darse
22ab82fe29 Remove RecordPoolFetcher 2015-02-18 11:58:42 +01:00
Mathieu Darse
cf33a25444 Fix indexing queues not being flushed 2015-02-18 11:56:15 +01:00
Mathieu Darse
3f440d2184 Throw on legacy search engine indexing requests 2015-02-18 11:55:21 +01:00
Mathieu Darse
04ba494ed2 Bulk errors can be thrown 2015-02-17 19:22:03 +01:00
Mathieu Darse
c341b12659 Implement bulk delete 2015-02-17 19:21:09 +01:00
Mathieu Darse
f422902887 Refactor record fetching
- Extract hydration responsibility into other specialized objects
- Delegate queries to FetcherDelegateInterface to keep a single fetcher
- Fix RecordDeletedEvent crashing
2015-02-17 18:38:17 +01:00
Nicolas Le Goff
b4a2796200 Reduce call to ACL's 2015-02-11 20:20:02 +01:00
Mathieu Darse
87e5bda333 Fix some syntax errors 2015-02-09 19:23:26 +01:00
Mathieu Darse
0701dfbb30 Rollback media substituted event renaming 2015-02-09 19:19:20 +01:00
Mathieu Darse
a0dad0e96e WIP on reindexing events handling 2015-02-04 19:53:35 +01:00
Mathieu Darse
3864850895 Group collection events 2015-02-03 18:05:48 +01:00
Nicolas Le Goff
a01bf29c5b Add elasticsearch reindex events 2015-01-26 16:04:23 +01:00
Mathieu Darse
ad868dc70f Try to fix object mapping export without children 2015-01-26 15:43:28 +01:00
Mathieu Darse
189bdf3402 Merge pull request #13 from nlegoff/fix-sort
Fix elastic search sort query
2015-01-20 18:56:11 +01:00
Mathieu Darse
c1d20c77ee Remove from index some unused fields & clean up 2015-01-20 18:28:40 +01:00
Mathieu Darse
e72c8b9674 Reword disabled mapping 2015-01-20 18:28:39 +01:00
Mathieu Darse
a4df8d02e0 Remove subdefs from mapping 2015-01-20 18:28:39 +01:00
Mathieu Darse
55464f075b Indexable -> Searchable 2015-01-20 18:28:39 +01:00
Mathieu Darse
1192d11a3a Use general_light analyzer for value and context, remove light subfield 2015-01-20 18:28:39 +01:00
Mathieu Darse
f9bb8c579c Remove "fields" field in thesaurus terms index 2015-01-20 18:28:39 +01:00
Mathieu Darse
2f0863000f Update null query node with new API 2015-01-20 18:28:39 +01:00
Mathieu Darse
cd8c3cd85a Set thesaurus requested size to zero (only aggs are needed) 2015-01-20 18:28:39 +01:00
Mathieu Darse
9560628037 Prune narrow concepts while building query 2015-01-20 18:28:22 +01:00
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
Nicolas Le Goff
9788a2a812 Fix elastic search sort query 2015-01-05 12:46:31 +01:00