Hi, 

I'm wondering if anyone could help me.

We're doing a terms facet on a field which works fine. However I'm trying 
to also return the corresponding id of that field so I can provide click 
through functionality on my grid.

eg index = fieldid,fieldname

if I do a termsfacet I get

field1 10
field2 34
field3 50

but I'd like to return the id too rather than do another search and merge ( 
very inefficient since I'm dealing with large amounts of data). Composite 
fields won't work for us since I'll have to constantly rebuild the index. 
the terms I'm using can be very dynamic.

Is this possible ?

Thanks

Vinny




-- 
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/4317dae0-690b-4205-a5f7-ea8e5908661d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to