High CPU usage elasticsearch

I have created an Elasticsearch plugin. It is working absolutely fine. But, in the case of bulk indexing, it is getting a request timeout, and when I checked the CPU usage, it was showing 101.76% usage.

I am using a lot of token filters inside my mapping which were created in the plugin itself. Is that the reason why it was showing such behavior or there can be some other reason?

What does the plugin have to do with bulk indexing exactly?

The plugin is analyzing a large batch of documents (around 250 documents per batch) and indexes them.

Do you get the same high cpu using just the bulk API?

Yes, I am getting that with bulk API only.

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