I have a requirement like We need a lucene query to get all the non-current versions which are created 3 years ago and not accessed since 1 year. I am able to retrieve only current versions that too based on creation date only. Need help on aceesed date also
you can't select by accessed date unless you have configured Alfresco to specifically set this (which it doesn't by default). Also, as the version nodes are frozen, I don't think that they will have their access date updated, so it should be the very same date as the created date if it is set at all…
Thanks Axel for your update. My primary requirement is to get the lucene search for all the older versions. For this i have configured version2Store as given in wiki http://wiki.alfresco.com/wiki/Alfresco_And_SOLR#Example:_configuring_search_for_the_system:.2F.2Fsys... . Configuration is successful and i am able to search in version store but still i am not able to retrieve the older versions For eg: TYPE:"cm:content" AND @cm\:name:"Test123" here i am able to get the latest version. Is there any configuration need to be set to get the older versions in versionStore. I observed that indexing happening on the documents that i uploaded. I dont have any clue on this. Any pointers will be helpful.