Hi, I'm looking to write a plugin/module for Elasticsearch that adds a
custom scoring function. This can't be a simple script score function as it
does some matrix calculations integrating with other stuff, so it really
needs to be a plugin.
As far as I can see, the right interface to implement for this is
ScoreFunctionParser. The question is, all the built-in function parsers
seem to be registered in FunctionScoreModule, which binds
a ScoreFunctionParserMapper with a set of ScoreFunctionParser , so can I
still add in my own ScoreFunctionParser in there through my custom module
registering a new ScoreFunctionParser?
Would this work? Am I roughly on the right track here?
Thanks,
Mauricio
--
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/5603a280-3197-4f16-8816-0266c919700a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Never mind, yes it works.
On Monday, December 15, 2014 12:57:09 PM UTC, Mauricio Scheffer wrote:
Hi, I'm looking to write a plugin/module for Elasticsearch that adds a
custom scoring function. This can't be a simple script score function as it
does some matrix calculations integrating with other stuff, so it really
needs to be a plugin.
As far as I can see, the right interface to implement for this is
ScoreFunctionParser. The question is, all the built-in function parsers
seem to be registered in FunctionScoreModule, which binds
a ScoreFunctionParserMapper with a set of ScoreFunctionParser , so can I
still add in my own ScoreFunctionParser in there through my custom module
registering a new ScoreFunctionParser?
Would this work? Am I roughly on the right track here?
Thanks,
Mauricio
--
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/744a458c-d895-4de9-9412-b62f3cad4c48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.