I have following index in RavenHQ
from doc in docs
let Tag = doc["@metadata"]["Raven-Entity-Name"]
where Tag != null && Tag=="Email"
select new { Tag, LastModified = (DateTime)doc["@metadata"]["LastModified"], DateAdded=doc.DateAdded };
also I did make the DateAdded Indexing as Analyzed. I want to write a Lucene query which includes less than date criteria in the where clause.
I tried following, but it didn't work.
Where("DateAdded: [NULL TO 2012-12-31").ToList()
What is the exact way in C# to provide the date in where clause.
Thanks.