[opencms-dev] Search based on date Range

jim jim.ji at transplace.com.cn
Thu Oct 6 13:27:20 CEST 2005


hi,
Have you checked this method 
    getFilesInFolder(java.lang.String resourcename, CmsResourceFilter filter) 

in CmsObject,if not,you had better look at it.especially class CmsResourceFilter,through which you can specify search criterias including the start time and end time,hope this can help you
----- Original Message ----- 
  From: shishank.mathur at wipro.com 
  To: opencms-dev at opencms.org 
  Sent: Thursday, October 06, 2005 6:56 PM
  Subject: RE: [opencms-dev] Search based on date Range


  Hi,

  I have checked the CmsSearch API which provides Created Date, Modified date for the searched text.

  One way I can do is get the results and then modify the same in my code to check if the result returned satisfy my date range or not.

  Is there any other better way to achieve it?

  Thanks.

  Kind Regards,
  Shishank 
  http://goshishank.blogspot.com





------------------------------------------------------------------------------
  From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of jim
  Sent: Thursday, October 06, 2005 3:51 PM
  To: The OpenCms mailing list
  Subject: Re: [opencms-dev] Search based on date Range


  hi
      you can check the api of CmsSearch,I think some methods can do what you said
    ----- Original Message ----- 
    From: shishank.mathur at wipro.com 
    To: opencms-dev at opencms.org 
    Sent: Wednesday, October 05, 2005 4:10 PM
    Subject: [opencms-dev] Search based on date Range


    Hi,

    How can I achieve searching within a specified Structured Content between two dates?
    Basically I am looking at a drop down box listing all the Structured Content specific to our site and then various search options like title, content etc along with date range.

    I am using OpenCms 6_0_1 with Weblogic 8.1 SP4 and Sql server.

    Thanks.

    Kind Regards,
    Shishank 
    http://goshishank.blogspot.com



          Confidentiality Notice 

          The information contained in this electronic message and any attachments to this message are intended
          for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
          you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
          and destroy all copies of this message and any attachments.
         



----------------------------------------------------------------------------




    _______________________________________________
    This mail is send to you from the opencms-dev mailing list
    To change your list options, or to unsubscribe from the list, please visit
    http://mail.opencms.org/mailman/listinfo/opencms-dev 


----------------------------------------------------------------------------


    No virus found in this incoming message.
    Checked by AVG Anti-Virus.
    Version: 7.0.344 / Virus Database: 267.11.11/121 - Release Date: 2005-10-6



        Confidentiality Notice 

        The information contained in this electronic message and any attachments to this message are intended
        for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
        you are not the intended recipient, please notify the sender at Wipro or Mailadmin at wipro.com immediately
        and destroy all copies of this message and any attachments.
       



------------------------------------------------------------------------------




  _______________________________________________
  This mail is send to you from the opencms-dev mailing list
  To change your list options, or to unsubscribe from the list, please visit
  http://mail.opencms.org/mailman/listinfo/opencms-dev


------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Anti-Virus.
  Version: 7.0.344 / Virus Database: 267.11.11/121 - Release Date: 2005-10-6
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20051006/77a1d725/attachment.htm>


More information about the opencms-dev mailing list