public Products_ByName() { Map = products => from product in products select new { product.Name }; Sort(x => x.Name, SortOptions.String); Analyzers.Add(x => x.Name, "Raven.Database.Indexing.Collation.Cultures.SvCollationAnalyzer, Raven.Database"); }
public BlogPosts_ByTagsAndContent() { Map = posts => from post in posts select new { post.Tags, post.Content }; Analyzers.Add(x => x.Tags, "SimpleAnalyzer"); Analyzers.Add(x => x.Content, typeof(SnowballAnalyzer).AssemblyQualifiedName); }
public BlogPosts_ByTagsAndContent() { Map = posts => from post in posts select new { post.Tags, post.Content }; Analyzers.Add(x => x.Tags, typeof(SimpleAnalyzer).FullName); Analyzers.Add(x => x.Content, typeof(SnowballAnalyzer).FullName); }