Many search engine have the 'did you mean' functionality.

Is there a simple way to use (N)Hibernate (e.g. ICriteria) to find an entity (e.g. keyword) based on similarity. Please note that I do not mean Expression.Like or something like this.

I hope this question makes sense.

Thanks.

Christian

PS:

similarity means in my case (let us say) 70% of characters in common.

I envisaged to implement an extension method called bla which I can use for my criteria queries:

ICriteria Criteria = Session.CreateCriteria(typeof(xxx));
 Criteria.Add(Expression.bla("name ", name)); 
 return Criteria.List() as List;