Quantcast
Channel: Alfresco Forums - Alfresco API
Viewing all articles
Browse latest Browse all 252

Search comparing two datetime properties

$
0
0

Hi, does anybody know how to search for objects with 2 datetime properties where one datetime property needs to be before the other?

I have a custom model with an object that has 2 custom datetime properties, myModel:myFirstTimestamp and myModel:mySecondTimestamp and I'd like to find all objects where myModel:myFirstTimestamp < myModel:mySecondTimestamp if that makes sense.

I have tried this in solr4 and cmid but can't get it to work. I did find how to search for date ranges where the date was static, but not where the second argument was a property of the object.

Thanks!

5.0.d


Viewing all articles
Browse latest Browse all 252

Trending Articles