A very basic question on below logic.

If the term starts with double quotes i dont want to do anything. just want to pass it to the next line. But the line `term = term` throws error.

Not sure how to handle it.

```cs
if (term.StartsWith("$"))
{
    // Don't modify the search term
    term = term.Substring(1, term.Length - 1);
    originalTerm = string.Copy(term);
}
else
{
    if (term.StartsWith("\""))
    {
        term = term;
    }
    else
    {
        // Escape special characters
        term = LuceneReservedCharacterPattern.Replace(term, @"\$0"); 
        // Then modify the term to improve phrase match:
        //      lyme disease OR "lyme disease"^2
        term = string.Concat("(", term, ") OR \"", term, "\"^2");
    }

    if (collections != null && !collections.Any(c => c.Equals("all", StringComparison.OrdinalIgnoreCase)))
    {
        // check for multiple collections collections: (all OR this OR that OR him OR her) etc
        term = string.Concat("(", term, ") AND collections:(", string.Join(" OR ", collections), ")");
    }
}

```