Lucene Indexing for plugin related active objects entity

Hi,
Is there an Atlassian based library available to index text search based data for specific to the plugin?

I want to index some search results based for cases like long activity logs to filter records quickly based on text search. Is this possible?

Your input would be very helpful. Thanks