Search for XML Nodes in Azure DevOps Server Code Search

Viewed 61

We have recently configured our ADS 2020.1 with ElasticSearch, which will now allow us to do Code searches.

I checked the Documentation, but are unable to find an answer to my current "issue".

Suppose i want to find all files where we have the this code

<Project>

When i search it just as <Project> i get many hits for "Project" in the code. When i search for "<Project>" i get the same result as above. Also tried \<Project\> or "\<Project\>"

How can i properly search for the <> brackets in the code?

I have the same questions for searches including the = sign or anything like that, i cannot find the way to include this and search as text.

1 Answers
Related