Hey guys,
I have the following problem: Given a title, I want to record that title
but I also want to record two fields for each word in the title, using the
words itself as part of the field name.
For example:
given the title "The greatest band ever - Urban Legion" I would like to
have a, document like:

{
  "title":"The greatest band ever - Urban Legion",
  "greatest_x" : 1,
  "band_x" : 1,
  "ever_x" : 1,
  "Urban_x": 1,
  "Legion_x" : 1,
  "greatest_y" : [],
  "band_y" : [],
  "ever_y" : [],
  "Urban_y": [],
  "Legion_y" : []
}

I was reading about dynamic mapping but I am not sure if I can acomplish
the above. Is it possible to do inside ES?

I could easily do it in an auxiliary application.

Thanks,
Pablo

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAF6PhFJisN_puhY0xq-tvRe9gx0jLRReheRzjL9n_PfxFAZ7pQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to