MultiIndex filter and search

Hi ,

I have 2 indexes com and article , which contain documents which are different and only thing that is common between the documents is _id , i need a filter and search Query from these 2 indexes , please let me know how to approach on this . First i need to Filter on COM index by TAGID and do search "text" from articleIndex
Filter by TAGID will return me _id ABC1234 and search for "Airtel iPhone" should return the same document however when i search for " something not in the document" it should not return ABC1234 article , please let me know how to go about this.

com index has following documents

{
  "_index": "com",
  "_type": "com",
  "_id": "ABC1234",
   "_score": 1,
    "locale": "en_US",
    "tags": [
      {
        "tagid": "TAG_A"
       },
      {
        "tagid": "TAG_B"
       }
    ]
  }
}

and have another index called article which has following doument's

{
  "_index": "article",
  "_type": "article",
  "_id": "ABC1234",
  "_version": 1,
  "_score": 1,
  "content": {
    "main": {
      "summary": "<p>WhatsApp Message Delete Feature, Pixel 2 on Sale in India, **Airtel iPhone** X Offer, and More: Your 360 Daily</p> ",
      "title": "The feature will work only if the recipient has the latest version of the app too, and messages can be deleted up to 7 minutes after they are sent"
    },
    "sections": [
      {
        "level": "1",
        "sections": [
          
        ],
        "text": "<p>To use the message delete feature, just select the message you want to delete, and tap on the trash icon on the screen; here you will see '**Delete for Me**' and 'Delete for Everyone'. While the former only deletes the message on your phone, the latter removes it from the recipients' devices as well:</p>",
        "title": "Airtel is not taking iPhone X pre-orders and will go straight to the sale on Friday"
      }
    ]
  },
  "locale": "en_US"
}

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