Skip to content

Instantly share code, notes, and snippets.

Last active May 31, 2017
What would you like to do?
An example of a RavenDB index that uses a custom analyzer
public class MyTestIndex : AbstractIndexCreationTask<BlogPost>
public MyTestIndex()
Map = posts => from post in posts
select new
Analyzers.Add(x => x.Content, typeof(MyLowercaseAnalyzer).FullName);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment