Advices on mapping field to huge text value


I have to create a mapping to a type that will have a text field with

  • that are huge (more than 32KB),
  • that are very bad structured, and will have snippets like "elas tic
    search" and I need to find it when the user searches for "elasticsearch" or
    "elastic search"

I can't modify the source of the text, it is extracted from a pdf file, so
I have to handle the issues in the type mapping

Can someone give me some advices on how to map this field?

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