Commit Graph

7 Commits

Author SHA1 Message Date
Mathieu Darse
afbb0e3696 Handle queries with invalid fields
They lead to zero result instead of all results from elasticsearch.
2015-07-23 19:11:12 +02: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
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
d0b3995a33 Text nodes extraction from queries 2015-01-20 14:44:00 +01:00
Mathieu Darse
9fff4fdbc0 Allow empty queries (match all) 2014-12-17 23:17:07 +01:00
Mathieu Darse
e53e92da63 Plug new parser on search engine 2014-12-03 19:35:10 +01:00
Mathieu Darse
c3867d412e Search\SearchQuery -> Search\Query 2014-11-26 11:39:56 +01:00