user_info has e_name
user_auth_cards_info has cards_user_name
Issue I'm having is that I want to filter out data where e_name and cards_user_name don't start with a particular string ie "test" but if one of them do then they both should be in the aggregation. I can't figure out how I should be doing this
Hey, I think the problem with this query is that if it only matches on one of e_name and not cards_user_name it will only return one whereas I need to get both so that’s why I want to group by id first and then will have to filter out from there.
Yeah same issue as above as it will only returning one of them but we still need both if either of them match so need to filter out in aggregation but not sure how
So it means that the same documents do not have the fields e_name and and cards_user_name. But explain something to me. How do you want to recover the other doc if it doesn't have the yellow value? Your query uses user_id and search term?
Yes well I don’t think the search query would work but some type of filter in the aggregation.
So once I group all users by id a filter possibly that filters out the data if there is no sign of test in any values. But seems like this is going to be a tough ask to do so
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.