Exemplo n.º 1
0
        private static void SearchSolrPerson()
        {
            engine = new ApacheSolrEngine <Person>();
            engine.InitEngine(Settings.ConnectionUrl);

            var personResults = engine.SearchData("*:*");

            foreach (var personResult in personResults)
            {
                Console.WriteLine(personResult.Name);
            }

            Console.Read();
        }