What happened to WhereBetweenOrEqual

30 views
Skip to first unread message

Anders Strömberg

unread,
Jan 2, 2018, 2:25:38 AM1/2/18
to RavenDB - 2nd generation document database
I'm currently trying to port our 3.5 code to 4.0 and in several places we have used IDocumentQuery to build up a query and before there was a WhereBetweenOrEqual method which seems to be gone now.

We also used a Where statement on the DocumentQuery where we added some lucene statements, is there something similar for RQL now?

BR
Anders

Oren Eini (Ayende Rahien)

unread,
Jan 2, 2018, 2:37:40 AM1/2/18
to ravendb
WhereBetween is now inclusive in both ends.

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Anders Strömberg

unread,
Jan 2, 2018, 2:44:11 AM1/2/18
to RavenDB - 2nd generation document database
Thank you for the quick reply.

What about the Where statement where you could enter lucene queries as a string?

BR
Anders


On Tuesday, January 2, 2018 at 8:37:40 AM UTC+1, Oren Eini wrote:
WhereBetween is now inclusive in both ends.

Hibernating Rhinos Ltd  

Oren Eini l CEO Mobile: + 972-52-548-6969

Office: +972-4-622-7811 l Fax: +972-153-4-622-7811

 


On Tue, Jan 2, 2018 at 9:25 AM, Anders Strömberg <anders.s...@gmail.com> wrote:
I'm currently trying to port our 3.5 code to 4.0 and in several places we have used IDocumentQuery to build up a query and before there was a WhereBetweenOrEqual method which seems to be gone now.

We also used a Where statement on the DocumentQuery where we added some lucene statements, is there something similar for RQL now?

BR
Anders

--
You received this message because you are subscribed to the Google Groups "RavenDB - 2nd generation document database" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+u...@googlegroups.com.

Oren Eini (Ayende Rahien)

unread,
Jan 2, 2018, 2:53:01 AM1/2/18
to ravendb
This is now available as the Lucene method.
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.

Anders Strömberg

unread,
Jan 2, 2018, 3:04:10 AM1/2/18
to RavenDB - 2nd generation document database
Are you referring to the WhereLucene method that requires that you state which fields the lucene query acts upon?

BR
Anders

Oren Eini (Ayende Rahien)

unread,
Jan 2, 2018, 3:32:01 AM1/2/18
to ravendb
Yes, you can specify a field name but then use explicit fields inside
To unsubscribe from this group and stop receiving emails from it, send an email to ravendb+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages