-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/rest api #18
Feature/rest api #18
Conversation
@@ -0,0 +1,92 @@ | |||
<?php | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing header
todo:
|
namespace Massive\Bundle\SearchBundle\Search\Metadata; | ||
|
||
/** | ||
* Simple value object for representing propertys |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
properties
91c70fc
to
3c45d19
Compare
0757a67
to
b4be1da
Compare
path: /search | ||
defaults: | ||
_controller: "massive_search.controller.rest:searchAction" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove EL
a1b5765
to
224519b
Compare
Thanks @aitboudad I have added tests for invalid field mapping. |
64512a9
to
fb69ddc
Compare
fb69ddc
to
f1cbc7d
Compare
Will this still work with the old search stuff in Sulu? Or should it be merged together with the Sulu PR? |
@danrot people should be using the tagged version so I would say it can be merged at any time. |
491d5f0
to
6e939ab
Compare
Merged, but Sulu won't work with this. For the next Sulu release we have to tag 0.5.0 and sulu/sulu#797 must be merged. |
This PR adds a Doctrine ORM subscriber, REST API and ExpressionLanaugage and numerous other features facilitating the creation of an independent back office search.
massive:search:index:rebuild
command which rebuilds both the ORM and third-party (i.e. Sulu) implementations)Introduction of a REST API to provide a simple controller to perform a search query using parametersquery
,index
andlocale
and receieve a JSON response.