Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
An example of a custom analyzer for RavenDB
using System.IO;
using Lucene.Net.Analysis;
namespace MyApp.Analyzers
public class MyLowercaseAnalyzer : Analyzer
public override TokenStream TokenStream(string fieldName, TextReader reader)
TokenStream t = null;
t = new LowerCaseFilter(t);
return t;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.