indexing using the latest search lib