Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-32233

Search Portlet | Custom range search does not return result when property "index.date.format.pattern" is set to a custom value, not to the default one (yyyyMMddHHmmss)

    Details

    • Fix Priority:
      2

      Description

      Steps to reproduce

      0. Currently, the default setting is index.date.format.pattern=yyyyMMddHHmmss in portal.properties
      1. Start portal with default settings
      2. Create some indexable entry e.g. Wiki, Web Content etc. >>> The "modified" column of every indexed Document will have the modified date value based on the pattern above

      3. Add Search portlet to a page, search for something, and then, drill down by any range e.g. "Last 24 hours" >>> You have to get results.

      4. Stop portal and change this property to something else e.g.g HHmmssMMddyyyy
      5. After portal restarted, execute a Reindex for search indexes. >>> Values in the*modified* columns have been changed according to the pattern.
      6. Repeat step 3

      Problem >>> No results displayed

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michael.saechang Michael Saechang
              Reporter:
              tibor.lipusz Tibor Lipusz
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                8 years, 8 weeks, 6 days ago

                  Packages

                  Version Package
                  6.2.0 CE M4