projectcs13/sensor-cloud — pull request #136 by likis (2013-11-15 14:05:21+00:00)
Title: Sp6.sc1.phrase suggestion search

Phrase suggestion/auto completion for search. Every time a search is done in the frontend, the query is saved. This will become a suggestions for other people trying to query later.

You can look for suggestions by the endpoint webmachineurl:webmachineport/suggest/_search?query=MY_QUERY

Where MY_QUERY is the thing you want a suggestion for. Such as "t", that might suggest a completion to "test".

So if user A does a query for "temperature uppsala", then user B will get that as a suggestion when he tries to get a suggestion for "temp" for example.