Generate keyword from multiple string

I have following scanerio

SHOP1 sells : apple laptop apple ipad apple phone

SHOP2 sells : apple laptop

SHOP3 sells : HP laptop

i wanted to generate keyword for each shop sells. such that "apple ipad"
"ipad apple" should show only SHOP1 not SHOP2.

How can i generate searchable keyword by mixing multiple words.

Will apple-laptop apple-ipad type of keywords work ?

--
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/98c3840c-30f1-4295-8603-2fc30a476b33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.