What does refresh-mapping do?

I'm seeing refresh-mapping coming up a lot when looking at pending_nodes. What does it do and how could I avoid it? Tried to search up online but didn't find anything useful.

It means that whatever data you are indexing is dynamically changing the mapping for the index.

If you want to avoid it then define your own mappings.