문제

Does anybody know if any of the document databases offers good search features? I see RavenDb is using Lucene.net to some degree but I am looking for a more integrated search experience like the Truffler.net client api are giving you. They have built a .net client on top of Elasticsearch which gives great search features.

I think it would be a killer feature if any of the document database clients could offer similar features directly through their client api but I am not sure if that is even feasible.

도움이 되었습니까?

해결책

TT, RavenDB is providing a lot of searching capabilities. It is deeply integrated into to API. You can do simple and full text searches, suggestions, spatial, and a lot more. Here is an example of how you can do the same query that they have in the main page:

session.Query<Resturant, Resturants_Search>()
  .Customize(c=>c.WithinRadiusOf(radios: 3, latitude: 51, longitude: 43)
  .Search(r=>r.Query, "Seafood")
  .Select(r=>new{r.Name, r.Address})
  .Take(5);

다른 팁

Have you looked at MongoDB or CouchDB? I know some of the big guys like ShutterFly, Craigs List, etc use MongoDB. There are several api's, including one for C#.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top