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.


You can use the Analyze API, but it only works per field:

Also look into the term vectors API:

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