User specific results

Hey, I have been trying to make a search which is user specific. I have two
types of data. One contains names of different types of restaurants and
other is user data which also contains the user history i.e. list of
restaurants from which the user has ordered earlier. Now i want to make
search like if a user wants to search a restaurant then i want to show
restaurants form his history on the top if they are relevant to the search
else they should not be seen.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c617d7a3-07bc-4e24-a08f-ec0c026d8668%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.