In our scenario, IO operation is restricted. We can prebuilt the lucene index and store it somewhere Offline. When supporting search, we choose to fetch binary bits from externa