Assuming you're using built-in field types in Solr, you can accomplish exact matches using the "string" data type for the field. (You could use "int" as well, but if you're doing strict lookup type of queries, string will suffice.)
Post your schema definition from schema.xml to clarify.