Hello Srinivasan ,
You cna easily create this as a plugin.
There are many examples here -
https://github.com/imotov/elasticsearch-native-script-example/tree/master/src/main/java/org/elasticsearch/examples/nativescript/script
Thanks
Vineeth
On Tue, Sep 2, 2014 at 10:18 PM, Srinivasan Ramaswamy <[email protected]>
wrote:
> I am trying to write a custom scoring plugin that will let me provide some
> extra data that is not in the index (through an external service) and do
> customized ranking. I would ideally like to custom score all the documents
> in the index that match the query.
>
> Currently I am planning to implement it as a service by extending
> AbstractLifecycleComponent which will periodically pull that extra data
> from my external service. Is there a better way ? When and how the plugin
> services will be called. I would like to know in detail about the entry
> points of plugins and how i should write this plugin. Any help or pointers
> would be appreciated.
>
> Thanks
> Srini
>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/dd21c829-867c-47f4-99f0-29465ae1b33d%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/dd21c829-867c-47f4-99f0-29465ae1b33d%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAGdPd5kxLE1fkk7qhyP0WPzA7_BmDaMDrqvcW_%2BULKf%3DfD0Ehw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.