Hey

check out the similarity module documentation at
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/index-modules-similarity.html
You need to create your own lucene similarity and register it in a custom
elasticsearch search plugin, a sample is at
https://github.com/tlrx/elasticsearch-custom-similarity-provider

Hope this helps


--Alex


On Wed, Jun 18, 2014 at 5:16 PM, Sri Harsha <[email protected]>
wrote:

> Hi All
>
> I have a custom similarity jar for a particular property/field. How would
> I make use of such a jar.
>
> I am new to ES and have gone through basic documentation.
>
> Using other similarity metric among available list in the mapping file is
> clear for me. But I am more interested in coding own similarity metrics.
>
> Any pointers and Help is hugely appreciated.
>
> Thank you
> Sri Harsha
>
> --
> 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/6f9bceb2-939d-4006-b241-b3ae0780c50f%40googlegroups.com
> <https://groups.google.com/d/msgid/elasticsearch/6f9bceb2-939d-4006-b241-b3ae0780c50f%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/CAGCwEM8CXaQ_%2B%3DOnMH5SaD-JDn3YWTHuVVOFfPpY2p1%3DnaW2%2BA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to