The document describes challenges faced when building a search application using Elasticsearch to index and search 6 billion documents. The initial approach of using default shard counts and indexing strategies led to out of memory errors and slow searches. Key problems identified were high field data usage bringing down nodes, searching all indices being slow, and the garbage collector being unable to free enough memory. Improvements involved right-sizing the number of shards, monitoring and reducing field data, targeting specific indices in searches, changing garbage collectors, and dedicating hardware roles.