Does number of fields increases if we index some fields with offsets?


To solve the issue of 'lenght of the field x exceeding the limit set for highlighting', we decided to index large fields with 'index_options: offsets' as suggested by error message.

But post this fix we are getting error that index has exceeded the number of max fields allowed. Which seems strange because we create new index each month and today is the first day of the month.

So does indexing with offsets increase the number of fields someway? And post indexing with offsets, I'm also seeing timeout errors.


No, the number of fields comes from the documents you are indexing and has no relationship with some fields being indexed with offsets. You can set up mappings to have dynamic false to prevent extra undefined in the mappings fields to be added.

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