How to structure query search data from two column/path in mongoDB aggregation $search

i have to search “java” (i typed “jav” to use search index feature) in primary_skills(primary_skill is path/column where “yoe” (yoe is diferent column/path the same collection) is 5 year