This study investigates indexing techniques to enhance data retrieval efficiency in large-scale JSON datasets, addressing the challenges posed by the growing use of JSON as a NoSQL storage solution. The authors conducted experiments on a 32 GB dataset, implementing dense and sparse indexing methods, which significantly reduced retrieval times from thousands of milliseconds to mere milliseconds. The optimal segment sizes for indexing were found to be between 20,000 and 200,000 transactions, improving the speed and efficiency of data access.