Quantcast
Viewing latest article 3
Browse Latest Browse All 13

Updated Wiki: Home

Project Description
A Fluent NHibernate.Search mapping interface for NHibernate provider implementation of Lucene.NET.

Current source code works against the following dependencies :

NHibernate : 2.1.2.4000
NHibernate.Search : Compiled from trunk against Lucene.NET 2.9.1.2
Lucene.NET : 2.9.1.2

Project Announcement

http://blog.sb2.fr/post/2010/03/05/Introducing-FluentNhibernateSearch-Mapping-Interface.aspx

0.2 Beta Announcement

http://blog.sb2.fr/post/2010/03/07/FluentNHibernarteSearch-02-Beta-Released.aspx

Mapping Sample

    public class BookSearchMap : DocumentMap<Book>
    {
        public BookSearchMap()
        {
            Id(p => p.BookId).Field("BookId").Bridge().Guid();
            Name("Book");
            Boost(500);
            Analyzer<StandardAnalyzer>();

            Map(x => x.Title)
                .Analyzer<StandardAnalyzer>()
                .Boost(500);

            Map(x => x.Description)
                .Boost(500)
                .Name("Description")
                .Store().Yes()
                .Index().Tokenized();
        }
    }

Viewing latest article 3
Browse Latest Browse All 13

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>