Infinispan is a distributed, scalable, and transactional data grid that can be used as a NoSQL key-value store. It supports indexing and querying of data through integration with Apache Lucene. Queries can be executed on the data grid to search for objects by fields or perform more complex searches. Infinispan also supports MapReduce-style processing on the data grid. Hibernate Search leverages Infinispan to provide full-text search capabilities for Hibernate entities in a clustered environment.