@@ -434,7 +443,7 @@ public void testReplacePartial()
...
@@ -434,7 +443,7 @@ public void testReplacePartial()
}
}
[Fact]
[Fact]
publicvoidtestExplain()
publicvoidTestExplain()
{
{
Clientcl=GetClient();
Clientcl=GetClient();
...
@@ -451,14 +460,16 @@ public void testExplain()
...
@@ -451,14 +460,16 @@ public void testExplain()
}
}
[Fact]
[Fact]
publicvoidtestHighlightSummarize()
publicvoidTestHighlightSummarize()
{
{
Clientcl=GetClient();
Clientcl=GetClient();
Schemasc=newSchema().AddTextField("text",1.0);
Schemasc=newSchema().AddTextField("text",1.0);
cl.CreateIndex(sc,Client.IndexOptions.Default);
cl.CreateIndex(sc,Client.IndexOptions.Default);
vardoc=newDictionary<string,RedisValue>();
vardoc=newDictionary<string,RedisValue>
doc.Add("text","Redis is often referred as a data structures server. What this means is that Redis provides access to mutable data structures via a set of commands, which are sent using a server-client model with TCP sockets and a simple protocol. So different processes can query and modify the same data structures in a shared way");
{
{"text","Redis is often referred as a data structures server. What this means is that Redis provides access to mutable data structures via a set of commands, which are sent using a server-client model with TCP sockets and a simple protocol. So different processes can query and modify the same data structures in a shared way"}