In my application, I have a map of <term, weight> pairs that I would like
to index into the same field, say "f", where the term should be indexed "as
is", ie, un-analyzed, and the weight should be indexed as the payload for
that term. I only need payloads for that field, and not term vectors. Each
document would have a different map of <term, weight> pairs to be indexed
as term and payload into the field "F". I am using ES 1.4, with the Java
API for both indexing and searching.
I had been doing this (indexing and scoring) directly with Lucene thus far.
However, after reading the ElasticSearch documentation, I could not find
any API, or even an approach, for how to achieve payload indexing in
I did find some documentation on how to use scripting for extracting and
using the payloads for scoring; this part would work, but I would prefer a
Java API approach, because it would avoid the scripting performance hit.
Any help on this, especially the indexing part, would be appreciated.
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@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e047c379-a23e-490f-a1e6-31d28dfa8c06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.