Parsing out the query_string text works for a set nesting in the form of query.filtered.query.query_string.query, which is the one used by frontend.
Added phrase completion to suggest and merged my branch with develop
Merge branch 'develop' of github.com:projectcs13/sensor-cloud into Sp6.Sc1.phrase_suggestion_search
Changed the field in the mapping from suggest to search_suggest so that it doesn't clash with the other auto completion. Also changed so that the GET returns correctly
Merge branch 'develop' of github.com:projectcs13/sensor-cloud into Sp6.Sc1.phrase_suggestion_search
Added is_rank to api_help and started working on ranking in streams.erl
silver bullet with own elastic mapping
Merge branch 'develop_silver_bullet' of github.com:projectcs13/sensor-cloud into develop_silver_bullet
Changed streams and config to not use resources
Added a comment
Changed so restricted and accepted fields are equal to the mapping
Changed resources to be detached from streams and users
Changed delete to skip resources and just delete streams owned by the
user
Everything now compiles
Changed datapoints.erl to user stream_id instead of streamid
Added user ranking. Sideeffects is that the mappings needs to be changed, a user needs a list of rankings that he/she has done and the stream user_ranking is now composed of two fields, the average rank (average) and the number of rankings (nr_rankings)
Commented out suggestion stuff
Everything but private stuff appears to work
Predictions still work
Tests works now