Aqueduct.SitecoreLib.Search.Utilities.SearchField.SetIndexType C# (CSharp) Method

SetIndexType() public method

public SetIndexType ( string indexType ) : void
indexType string
return void
      public void SetIndexType(string indexType)
      {
         switch (indexType)
         {
            case "NO":
               {
                  IndexType = Lucene.Net.Documents.Field.Index.NO;
                  break;
               }
            case "NO_NORMS":
               {
                  IndexType = Lucene.Net.Documents.Field.Index.NO_NORMS;
                  break;
               }
            case "TOKENIZED":
               {
                  IndexType = Lucene.Net.Documents.Field.Index.TOKENIZED;
                  break;
               }
            case "UN_TOKENIZED":
               {
                  IndexType = Lucene.Net.Documents.Field.Index.UN_TOKENIZED;
                  break;
               }
            default:
               break;
         }
      }