Hi ESearchers,
I'm investigating into elastic search in order to inject payload
information associated to each word. One interesting idea would be to use
the JSON to inject objects holding the data and payload data together.
For example, my document would be :
{
"content": { "data" : "keyword1", "payload" : "2.0"},{"data":"keyword2",
"payload":"3.0"}
}
Thought to inject payload, I need to have access to several fields of the
object.
As I understand from the documentation and code, objects are dynamically
parsed and considered as nested fields. So the request parser will launch
my analyzer for data and payload independantly.
I there a way to peronalize this behaviour to have access at the analyzer
(and tokenizer level) to a whole chunk of JSON ?
This question was already asked before and "kimchy" was suggesting
(https://groups.google.com/d/topic/elasticsearch/cO8J5i39cUE/discussion)
to use scripts. I don't really undertand how scripts could solve this.
Any comment or ideas to dig are welcome.
Thanks by the way for the awesome product. It has much future ahead, I'm
sure.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.