public static void Main(string[] args)
        {
            if (args.Length == 0)
            {
                Console.WriteLine(
                    "Usage:\nindex  ../../../Data/Files ../index-all.bin IndexOptions(CaseFolding,RemoveStopWords,DoStemming)\n" +
                    "search run-all ../../../Data/topicsTREC8Adhoc.txt ../index-all.bin QueryOptions(UseHeadline,UseDescription,UseNarrative)");
                //Console.Read();
                return;
            }

            if (args[0] == "index")
            {
                Index(args[1], args[2], IndexOptions.Parse(args[3]));
            }
            else if (args[0] == "search")
            {
                Search(args[1], args[2], args[3], QueryOptions.Parse(args[4]));
            }
        }