Hello guys,
I have two collection.
- Companies
- jobs
1.Company schema
{
company_id: Number,
company_name : String,
company_email : String,
.....some other info
}
2. Job Schema
{
job_id: Number,
job_title : String,
job_role : String,
job_location : String,
.....some other info
}
I want to search a text in following field
- company_name {company Schema}
- Job_role { Jobs schema }
- Job_title { Job schema }
I have some regular expression and I want to search it
How can I do it ?