Can I use my existing Lucene MultiTermQuery/FilteredTermsEnum in Elasticsearch?

I have custom IP Address and Port range classes that I use in my current java application - which uses Lucene directly. Is there a straightforward way to use these in Elasticsearch? Or a better way?
They extend MultiTermQuery and FilteredTermsEnum in
package org.apache.lucene.search and so are available to be used in Lucene's IndexSearcher.search calls.
I believe I'd need to have them load with the Elasticsearch Lucene Instance(s) and then be defined in a custom type that I could map to in elastic.
Thank you.