Sorry, the plugin is outdated, a better start is by looking at http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-similarity.html
Jörg On Wed, Jun 4, 2014 at 10:07 AM, joergpra...@gmail.com < joergpra...@gmail.com> wrote: > You need resources on all nodes that hold shards, you can not do it with > just one instance, because ES index is distributed. Rescoring would be very > expensive if you did it on an extra central instance with an extra > scatter/gather phase. It is also very expensive in scripting. > > A better method is a similarity plugin like > https://github.com/tlrx/elasticsearch-custom-similarity-provider > > Not sure how your code looks like though, maybe you can share it with the > community? > > Jörg > > > > On Wed, Jun 4, 2014 at 2:55 AM, virgil <virgil...@gmail.com> wrote: > >> The problem is that only one copy of HashMap is needed to customize score >> of >> all documents in the cluster. But as we have to install the plugin on all >> nodes, the actual memory used is multiplied by the number of nodes in >> cluster. I try to figure out one way to save the memory. Tried on non-data >> node, but it seems not working. >> >> >> >> -- >> View this message in context: >> http://elasticsearch-users.115913.n3.nabble.com/ANN-Elasticsearch-Simple-Action-Plugin-tp4056971p4057015.html >> Sent from the ElasticSearch Users mailing list archive at Nabble.com. >> >> -- >> 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+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/elasticsearch/1401843345821-4057015.post%40n3.nabble.com >> . >> 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 elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHZTAZrAdtQAnvj_7UtO%3DaAVtN3qt337PTzDjnbCmtPaA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.