Hi Everyone , I want to index source code and create multiple fields for methods, variables , classes to store the name of these elements, and i will have a filed called content to store the entire code.
when I want to search for a method with the name (add), the highlighter of course will highlight any word (add) in the content field.
so how can I approach this scenario, so that I can only highlight the fields the user is searching for ?

Thanks in advance.