Neo4JClient - Как добавить узел в индекс

Мне нужен очень простой пример того, как добавить узел в индекс с помощью Neo4JClient

В следующем коде C # я создал индекс и узел сотрудника.

Вопрос:

Как в следующем коде добавить созданный узел в индекс? Решения должны обеспечивать возможность поиска по EmployeeID или имени.

    class Program
    {
        static void Main(string[] args)
        {
            //Connect to Neo4J
            var graphClient = new GraphClient(new Uri(@"http://localhost:7474/db/data"));
            graphClient.Connect();

            //Create Index
            graphClient.CreateIndex("employee", new IndexConfiguration() { Provider = IndexProvider.lucene, Type = IndexType.exact }, IndexFor.Node);

            //Create an Employee node
            var employee = new Employee() { EmployeeID = "12345", Name = "Mike"};
            NodeReference employeeRef = graphClient.Create(employee);

            //Add the node that was just created to the Employee index.  

        }
        private class Employee
        {
            [JsonProperty("EmployeeID")]
            public string EmployeeID { get; set; }

            [JsonProperty("Name")]
            publi

Ответы на вопрос(1)

Ваш ответ на вопрос