Read an index and count in other index

Hi all,

I have two index:

index_master

name - code
m1   - c1
m2   - c2
m3   - c3

index_details

code - other fields
c1   - data field
c1   - data field
c1   - data field
c1   - data field
c2   - data field
c2   - data field
c2   - data field
c3   - data field
c3   - data field

in a pipeline I need to read from input the index_master but in the filter I need to perform a count of the documents in the index_details using as parameter the field "code" of the index_master and index_details.

So far I've searched for all filters plugin and with ruby filter but can't find a solution that fit my needs.

Someone can help me with this problem?

thanks in advance
diego

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.