Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In RavenDB3 I can seach in database in my c# program via .NET client API using raw Lucene sintax:


result = session.Advanced.DocumentQuery<ObjectClass, MyIndex>()
                              .Where("(Name:Andrew*) AND (UID:*12345*) OR (City:NewYork)").ToList()


Is it possible in RavenDB4?
My program has a google-like search bar, and user can build custom query.
Related to this, is it possible to query using the new RQL from .NET client API?

What I have tried:

In the new RavenDB4 documentation I can't find a way to submit a custom Lucene query anymore.
Posted
Updated 30-Mar-18 6:08am

1 solution

Instead of asking us if it's possible, try it yourself and see. My advice is to put a try/catch block around your code so you can inspect any exception that might be thrown.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900