Plugin development : doc.get(key) types?

Hi,

I'm building a new plugin, but did not find a simple way to parse a
matching doc.

I wish to get doc.get(key) values wether in their original type
(ScriptDocValues.xxx) or as String. Am I obliged to iterate
throughScriptDocValues types ?

Thanks.

Regards,
Yann

--
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.

Hi,
For anyone interested, you'll find what I did here :

If you have any suggestion about doing better, I'll be glad to know.

Regards,

Yann

Le vendredi 13 septembre 2013 06:41:10 UTC+2, Yann Barraud a écrit :

Hi,

I'm building a new plugin, but did not find a simple way to parse a
matching doc.

I wish to get doc.get(key) values wether in their original type
(ScriptDocValues.xxx) or as String. Am I obliged to iterate
throughScriptDocValues types ?

Thanks.

Regards,
Yann

--
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.