title: mongoDB Index Limits
body: <p>I am currently working with mongoDB trying to index quite a large database. It has a field in every document called "content" that is of varying length. I have tried indexing it once, it ran for 2 hours, completed the indexing, but didn't build it because it came across something larger than 1024 bytes. I tried reading the limits manual, but I am not sure I 100% understand what these limits mean. Is it the "content" field that can be max 1024 bytes? Like so:</p>
  
  <p><code>{ "Content" : "Can this be max 1024 bytes?" }</code></p>
  
  <p>Or have I completely misunderstood this?</p>
  
  <p><a href="https://docs.mongodb.com/manual/reference/limits/" rel="nofollow noreferrer">https://docs.mongodb.com/manual/reference/limits/</a></p>