Commit Graph

9088 Commits

Author SHA1 Message Date
Mathieu Darse
c6075fcc1a Thesaurus prefixes in field structure
Also fixes candidates collected from all string fields
2015-04-22 20:46:37 +02:00
Benoît Burnichon
f2082f5c51 Merge pull request #1331 from mdarse/date-number-inequality
Field equality/inequality queries
2015-04-15 18:55:18 +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
eda8181d87 Test inequality queries with dates 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
Mathieu Darse
10395f410c Add tests for query compiler 2015-04-15 18:23:36 +02:00
Mathieu Darse
3ccf1a0c47 Field inequality grammar 2015-04-15 18:23:36 +02:00
Mathieu Darse
6229588cba string() rule should not match multiple words 2015-04-15 18:23:36 +02:00
Mathieu Darse
2cd0fd6f2e Prevent quoted contexts (visitor do not handle that) 2015-04-15 18:23:36 +02:00
Mathieu Darse
d9b4667824 Fixes parsing with multiples text token after IN operator 2015-04-15 18:23:36 +02:00
Mathieu Darse
18cf272805 Simplify some derivation rules 2015-04-15 18:23:35 +02:00
Mathieu Darse
308df4d04a Document query grammar 2015-04-15 18:23:35 +02:00
Benoît Burnichon
d4a80505e9 Merge pull request #1348 from bburnichon/feature/controller-as-service
Controller as service
2015-04-14 11:47:57 +02:00
Benoît Burnichon
21195820f2 Fixup form submission.
In our case, we want to allow empty requests... If using handleRequest, the form should at least contains the CSRF tokens.
2015-04-14 11:07:26 +02:00
Benoît Burnichon
e785a55ff6 Merge pull request #1349 from mdarse/facets-strict-match
Strict facet matching (the return)
2015-04-14 10:20:56 +02:00
Benoît Burnichon
e90687e4ff Missing ControllerProvider in Application and error in private method 2015-04-13 19:49:55 +02:00
Benoît Burnichon
27f1f98dbe Refactor TaskManagerController 2015-04-13 19:29:51 +02:00
Benoît Burnichon
14a62fd9e8 Split TaskManager ControllerProvider into 2 classes 2015-04-13 19:01:37 +02:00
Benoît Burnichon
63634e81a9 Bump version of phpunit 2015-04-13 18:45:19 +02:00
Mathieu Darse
5715dfc6a0 Fix mandatory escaping sequence in raw expressions 2015-04-13 18:37:38 +02:00
Benoît Burnichon
8136f06a54 Refactor SubdefsController 2015-04-13 18:25:28 +02:00
Benoît Burnichon
9b96e96e04 Refactor Admin/SetupController 2015-04-13 18:03:37 +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
Benoît Burnichon
70ece22fe4 Merge pull request #1346 from bburnichon/remove_sphinx
Removed Sphinx and Phrasea search engines
2015-04-09 16:26:18 +02:00
Benoît Burnichon
ae70d7471b Merge pull request #1345 from mdarse/lowercase-and-french-operators
Mixed case and French operators
2015-04-09 16:20:30 +02:00
Mathieu Darse
c8579d64b3 Support for French operators 2015-04-09 15:15:08 +02:00
Mathieu Darse
74686c67cd Support lower and mixed case operators 2015-04-09 15:14:34 +02:00
Benoît Burnichon
e10d0d73ec Merge pull request #1341 from kwemi/issues-wednesday
Issues wednesday
2015-04-08 18:37:19 +02:00
Jean-Yves Gaulier
56fa78e0ef wip : removed Sphinx and Phrasea search engines 2015-04-08 18:37:11 +02:00
Olivier Mayer
afd75afe8b Css white update 2015-04-08 20:51:29 +09:00
Benoît Burnichon
d74edd71fd Merge pull request #1338 from bburnichon/feature/admin-publication-provider
admin publication provider
2015-04-08 13:21:36 +02:00
Olivier Mayer
17a3e66465 Min with
fix #12
2015-04-08 19:42:37 +09:00
Benoît Burnichon
45a43ef86a Missing removal of old ControllerProvider 2015-04-08 12:10:15 +02:00
Benoît Burnichon
52e11a4b76 AdminRoot Controller refactoring 2015-04-08 11:50:40 +02:00
Benoît Burnichon
98694496b5 Change Application to use ControllerProvider 2015-04-08 11:50:40 +02:00
Benoît Burnichon
fb6e04c018 FeedController creation 2015-04-08 11:50:40 +02:00
Benoît Burnichon
0da36e255c Merge pull request #1340 from bburnichon/feature/plugin-autoload
Fix issue of plugins autoload at bootstrap.
2015-04-08 11:49:17 +02:00
Benoît Burnichon
42bcd1e7c5 Make autoload to return $loader instance 2015-04-08 11:41:56 +02:00
Benoît Burnichon
801eb39447 Fix issue of plugins autoload at bootstrap. 2015-04-08 11:32:18 +02:00
jygaulier
2eac08a0cc Merge pull request #1339 from jygaulier/ADVSEARCH_SB
- fix : last user query is ok when relog (no more 'ast' language...), bu...
2015-04-07 19:46:09 +02:00
Jean-Yves Gaulier
d9b1a54e55 - fix : last user query is ok when relog (no more 'ast' language...), but still includes facet filters.
- fix : advanced search, status-bit checkbox can be checked
2015-04-07 19:28:03 +02:00
Benoît Burnichon
812a18987d Properly ignore auto-generated plugin files 2015-04-07 16:03:01 +02:00
Benoît Burnichon
651d412055 Improve vagrant box generation 2015-04-07 16:03:01 +02:00
Benoît Burnichon
d12eb0ef91 Add empty node_modules directory to ease vagrant/local system availability 2015-04-07 16:03:01 +02:00