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
To view this discussion on the web visit
For more options, visit