Example #1
0
        private static void indexItem(string value)
        {
            var sampleClass = new SampleClass();

            sampleClass.Text = value;
            Elasticsearch.Index(sampleClass);
        }
Example #2
0
        static void Main(string[] args)
        {
            Elasticsearch.CreateIndex();

            IndexItems();
        }