The latter should work (I'm not familiar with the C# API but "not analyzed" is the right keyword), but keep in mind that you can't change the existing mapping of a field. You have to reindex the data.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.