Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

document database with search features

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.

like image 973
terjetyl Avatar asked Aug 01 '26 06:08

terjetyl


1 Answers

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);
like image 119
Ayende Rahien Avatar answered Aug 03 '26 22:08

Ayende Rahien