Testing analyzer for entire documents without indexing it

I was wondering if it exists a way to test analyzers for an entire document without indexing it.

In other words, instead to pass an analyzer and a text, I'd like to pass an entire doc without sending info about analyzer because they are already specified inside mapping (one for each field).

Anyone knows how to do it without indexing the doc but just using simulation?

Thank you very much.

Fra.

You can use the Analyze API, but it only works per field:
https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-analyze.html

Also look into the term vectors API:
https://www.elastic.co/guide/en/elasticsearch/reference/5.4/docs-termvectors.html

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