-
NHibernate Search String Dictionary Bridge
NHibernate Search is an extension to NHibernate that uses Lucene to give you full text search using Lucene under the hood. It also makes using Lucene in your .NET app easier than using Lucene.NET directly.
Lucene only indexes text on a document in a flat key-value structure. Bridges are used to turn properties on your indexed documents into text.
NHibernate Search comes with bridges for common types such as enum, but you can also write your own. This is an example of a bridge that turns a Dictionary property on your indexed objects into a set of properties on the lucene document. It only …