My documents looks like this.
{
"sId": "s1",
"source": "September Challenge %2s",
},
{
"sId": "s2",
"source": "September 2019 Challenge %2s"
},
{
"sId": "s3",
"source": "September Challenge 2019"
}
I was trying to find the documents by searching in source
with regex 2
.
I am getting all the 3 documents. I want the result below.
{
"sId": "s2",
"source": "September 2019 Challenge %2s"
},
{
"sId": "s3",
"source": "September Challenge 2019"
}
first documents should be ignored because it has %2s
, Second and third documents should come because it contains 2019
.
Can anyone please guide me how I can achieve the above.