Benoît Burnichon
3856622d48
Merge pull request #1361 from mdarse/thesaurus-prefixes
...
Thesaurus prefixes in field structure (the return)
2015-05-11 12:07:48 +02:00
Benoît Burnichon
5eb7af9542
Merge pull request #1360 from bburnichon/feature/controller-as-service
...
controller as service
2015-05-07 16:09:40 +02:00
Benoît Burnichon
50ea2e26cb
Remove ArrayCollection as there is no benefits to use it.
...
Change twig from ArrayCollection to plain array.
2015-05-05 11:09:28 +02:00
Nicolas Le Goff
2d5a36f5a2
Add highlights query
2015-05-05 11:09:28 +02:00
Mathieu Darse
f3a4b35420
Make ThesaurusHydrator code style uniform
2015-04-30 16:47:41 +02:00
Mathieu Darse
3e2c2da4a2
Fix typos
2015-04-30 16:47:01 +02:00
Mathieu Darse
dd64b01fdd
Warn about missing search-time filtering
2015-04-29 20:50:18 +02:00
Mathieu Darse
feb7fd057e
Add some indexer logging
2015-04-29 20:43:20 +02:00
Mathieu Darse
24bcdba635
Handle field root concepts (prefixes) on indexing
2015-04-29 20:42:51 +02:00
Mathieu Darse
30391e89b8
Add logging capabilities to thesaurus
2015-04-29 19:08:42 +02:00
Mathieu Darse
f7eea7f63d
Static method dispatch in Navigator
2015-04-28 12:08:45 +02:00
Mathieu Darse
69b64540f7
Prefixes are always an array
2015-04-28 11:26:28 +02:00
Benoît Burnichon
62b8e5a6e4
Refactoring of API V1 Controller
2015-04-27 20:35:36 +02:00
Nicolas Maillat
427439f87e
Merge pull request #1359 from mdarse/thesaurus-prefixes
...
[WIP] Thesaurus prefixes in field structure PHRAS-462 PHRAS-247
2015-04-23 16:41:02 +02:00
Mathieu Darse
c6075fcc1a
Thesaurus prefixes in field structure
...
Also fixes candidates collected from all string fields
2015-04-22 20:46:37 +02:00
Mathieu Darse
0e6bfe4874
Fix context regression from #1347
2015-04-15 18:56:55 +02:00
Mathieu Darse
033faa1b9a
Use mapping type constants
2015-04-15 18:28:12 +02:00
Mathieu Darse
c813eee73f
Add equality expressions
2015-04-15 18:28:12 +02:00
Mathieu Darse
4785fbc8ed
Fix indexing issue with date fields
...
- Date and number types sanitization
- Remove `RecordIndexer` dependency on `ElasticSearchEngine`
- Move some sanitization from `RecordIndexer` to `RecordHelper`
2015-04-15 18:28:12 +02:00
Mathieu Darse
fcc3f1ba24
Fix range query field
2015-04-15 18:28:12 +02:00
Mathieu Darse
34a88d9ac6
Simpler range AST constructors
2015-04-15 18:23:36 +02:00
Mathieu Darse
b3f9dd4ca2
Implement inequality in query visitor & fix IN expressions
2015-04-15 18:23:36 +02:00
Benoît Burnichon
6d4fcbbe9a
Refactor SearchEngineController
2015-04-13 17:44:44 +02:00
Benoît Burnichon
e5c1cab623
Merge pull request #1347 from mdarse/facets-strict-match
...
Strict facet matching
2015-04-10 17:29:46 +02:00
Mathieu Darse
38465a591f
Strict facet matching
...
Clicking on a facet value on the left pane now return the expected result count.
This commit implement a new "raw" matcher. It can be used like
`r"some raw value"`. It operate on the the `.raw` multi-field and skips all
analysis.
Escaping `"` is supported by prepending a backslash `\"`. You can also escape
the escaping character `\` by doubling it (`\\`).
Adds a new `ContextAbleInterface` to differenciate matcher supporting an
optional context from those who can't.
Fixes an issue with `QueryContext::narrowToFields()` ignoring passed fields.
2015-04-09 20:32:13 +02:00
Jean-Yves Gaulier
56fa78e0ef
wip : removed Sphinx and Phrasea search engines
2015-04-08 18:37:11 +02:00
Nicolas Maillat
8a977db621
Audio sample rate may not be an integer.
2015-04-02 18:52:41 +02:00
Benoît Burnichon
7af53aaef4
Merge pull request #1328 from mdarse/qp-ina-oreo
...
Parsing of INA/OREO queries
2015-03-30 17:53:15 +02:00
Benoît Burnichon
8008271964
Merge pull request #1330 from mdarse/array-unique-php55
...
Proper date fields lazy-loading
2015-03-30 17:47:18 +02:00
Mathieu Darse
171eec6dcb
Proper date fields lazy-loading
2015-03-30 17:41:12 +02:00
Mathieu Darse
a9a1d44447
Fix term/text/context nodes merging
2015-03-30 16:30:12 +02:00
Mathieu Darse
fc6b61e159
Fix quoted text node generation
2015-03-30 16:30:12 +02:00
Mathieu Darse
99e62f7530
QueryParser -> QueryCompiler
2015-03-30 16:17:40 +02:00
Mathieu Darse
470804659b
Use a single transliterator to do ASCII folding
...
Move in string utilities too.
2015-03-30 14:46:43 +02:00
Benoît Burnichon
a814208a6b
Merge pull request #1315 from mdarse/cross-fields-multi-word-query
...
Working cross-fields queries with multiple words (without operators)
2015-03-24 18:42:13 +01:00
Mathieu Darse
771aa5b765
Working cross-fields queries with multiple words (without operators)
...
- Index the full content of a record in a (private_)content_all field
- Handle all fields wide search as a special-case (drastically simplify queries)
- QueryContext doesn't take all allowed fields anymore, but whether private
fields are allowed or not. Since private fields are namespaced, field level
restriction is not needed anymore.
2015-03-24 17:52:30 +01:00
Mathieu Darse
f2f29c4290
Command to update index mapping
2015-03-23 19:12:59 +01:00
Mathieu Darse
a3dae412f1
Index MIME type
2015-03-19 19:00:56 +01:00
Benoît Burnichon
31d5237b5d
Merge pull request #1303 from bburnichon/feature/use-phpunit4
...
use phpunit4
2015-03-19 16:57:00 +01:00
Benoît Burnichon
5d651fc782
Merge pull request #1308 from mdarse/facets-smart-escaping
...
Smart facet value escaping (the return)
2015-03-19 16:46:44 +01:00
Mathieu Darse
679106d226
Fix typos and check-in Escaper
2015-03-19 16:41:53 +01:00
Benoît Burnichon
8508c81e2d
Merge pull request #1305 from mdarse/facets-smart-escaping
...
Smart facet value escaping
2015-03-19 15:35:57 +01:00
Mathieu Darse
59d2c86a2a
Clean ElasticSearchEngine
2015-03-19 13:44:24 +01:00
Mathieu Darse
b1a03ae566
Smart facet value escaping
2015-03-19 13:42:04 +01:00
Mathieu Darse
67dcd09a39
Add "collection:" query support
2015-03-17 19:45:24 +01:00
Mathieu Darse
d766dccfff
Remove useless dynamic search dispatch
2015-03-17 19:45:24 +01:00
Mathieu Darse
4419b1b3a7
Refactor facets handling
2015-03-17 19:45:14 +01:00
Benoît Burnichon
cdc7f743d5
Remove staticExpects to work with PHPUnit ~4.5
2015-03-17 13:08:27 +01:00
Benoît Burnichon
6c825f4582
Add logger to Elastic SearchEngine
2015-03-16 13:52:28 +01:00
Benoît Burnichon
ef4b61229e
SearchEngineOptions returns filtered array collection
...
PHPUnit 3.7 hangs out on comparing objects with different keys.
Change test method to compare a single object.
2015-03-13 11:13:04 +01:00