RavenDb proximity search -


i have entity type:

public class log {     public int id { get; set; }     public string action { get; set; }     public string message { get; set; } } 

and index:

public class logindex : abstractindexcreationtask<log> {     public logindex()     {         map = xs => x in xs                     select new                     {                         x.id,                         x.action,                         x.message                      };     } } 

and store entity{ action: "getmessage", message: "this hello world message."}.

then can entity message:(hello world) or message:"hello world" on raven studio.

now want proximity search entity message:(hello world)~2, exception unexpected tilde.

then use message:"hello world"~2, nothing. should do? thank you.

in order support proximity search, need mark message analyzed , use message:"hello world"~2


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -