# Generate keyword from multiple string

**URL:** <https://discuss.elastic.co/t/generate-keyword-from-multiple-string/19812>\
**Category:** Elasticsearch\
**Created:** [September 16, 2014, 1:24pm UTC](https://discuss.elastic.co/t/generate-keyword-from-multiple-string/19812 "2014-09-16T13:24:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manish\_kumar](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@manish\_kumar](https://discuss.elastic.co/u/manish_kumar)\
**Post date:** [September 16, 2014, 1:24pm UTC](https://discuss.elastic.co/t/generate-keyword-from-multiple-string/19812/1 "2014-09-16T13:24:07Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:02am UTC](https://discuss.elastic.co/t/generate-keyword-from-multiple-string/19812/2 "2017-07-06T01:02:01Z")

</div>

Closed on July 6, 2017, 1:02am UTC


