How to use Customized Query of Lucene in Elasticsearch

Hi all,

I have written a customized Query and Scorer for Lucene, but now I want to
use this Query in Elasticsearch. I know that I can use it as a plugin, but
what should I do to register it as a plugin? I have searched for
documentations or examples but I found nothing mention how to use a
customized Query in Elasticsearch. Any help or any guide? Thank you!

Best Regards

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/491eeb3c-6a43-438e-a2b5-328033d30981%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.