One record in my solr data has a field with the value "NOT 123456". Since "NOT" is a reserved word for negativity, when I send a query with
defType=edismax&q=NOT 123456
all records excluding the one with the value "NOT 123456" are returned. How do I modify "NOT" to be treated as a literal, instead?
According to the Lucene Query Syntax, you have two options here: