0

Closed

Builtin Analyzers

description

Ability to use builtin Lucene Analyzer without specifiying analyzer type.
 
public class BookSearchMap : DocumentMap<Book>
{
    public BookSearchMap()
    {
        Id(p => p.BookId).Bridge().Guid();
        Name("Book");
        Analyzer().Standard();
        Map(x => x.Title)
                .Analyzer().Custom<MyAnalyzer>()
                .Store().Yes()
                .Index().Tokenized();
        Map(x => x.Description)
                .Analyzer().Standard()
                .Store().Yes()
                .Index().Tokenized();
    }
}
Closed Mar 7, 2010 at 2:31 PM by inetux

comments

wrote Mar 7, 2010 at 2:31 PM

Resolved with changeset 45510.

wrote Feb 13, 2013 at 6:43 PM

wrote May 15, 2013 at 4:24 AM