Get unique record(fields)


(srikanth ramineni) #1

Hi,

I have requirement to get unique fields from elastic search. Can somebody
help me how can i get . Below is the scenario

Records
product service sku
xx min mx create

WSA-AMM-LIC-R= WAMMR WSA-AMM-1Y-S7-R1 PRODUCT 10 36 Procedure
WSA-AMM-LIC-R= WAMMR WSA-AMM-1Y-S5-R2 PRODUCT 30 36 Procedure
WSA-AMM-LIC-R= WAMMR WSA-AMM-1Y-S12-R PRODUCT 40 36 Procedure
WSA-AMM-LIC-R= WAMMR WSA-AMM-3Y-S8-R3 PRODUCT 36 60 Procedure
WSA-AMM-LIC-R= WAMMR WSA-AMM-5Y-S1-R4 PRODUCT 60 61 Procedure

Input will be WSA-AMM-LIC-R= , WAMMR and i am expecting the out only
one row (having two fileds product and service level)

WSA-AMM-LIC-R= WAMMR

Thanks,
srikanth.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/c728424a-d87b-40b6-a966-ffbe4ea2303e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2