Accessing Lucene search in JIRA

I am exploring how I might be able to use Lucene to index attachment content in JIRA. Is this something that might be possible and are there any articles that can help get started.