Extract key phrases for given sentence from elastic search


I need help with indexing/query for below use case

I have list of "keyphrases" like below which will go into elastic search index.
//e.g. Keyphrases to index: "beautiful place for summer" "travel destination for winter" "travel destination" "beautiful place"

The user query string would be a sentence which could be super set of key-phrases
//e.g. Query String input: "beautiful place this summer in newyork"

//e.g Expected output should be: "beautiful place for summer", "beautiful place"

Please help me with curl query, so I can test out on mac.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.