[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-97) Problem with date Sort

Fabien (JIRA) noreply at atlassian.com
Tue Jul 17 04:52:52 EDT 2007


Problem with date Sort
----------------------

                 Key: HSEARCH-97
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-97
             Project: Hibernate Search
          Issue Type: Task
    Affects Versions: 3.0.0.beta3
            Reporter: Fabien
         Attachments: 2007-07-17-WorkspaceTestSort.zip

I have a problem when I made a date Sort.

The main method is in HibernateUtil.java

I inserted 2 objects "Entite". Then, I made a search and sort is :

fullTextQuery.setSort(new Sort("date",false));
Result :
Date : Tue Jul 17 10:48:26 CEST 2007
Date : Tue Jul 17 10:48:29 CEST 2007

and
fullTextQuery.setSort(new Sort("date",true));
Result :
Date : Tue Jul 17 10:49:04 CEST 2007
Date : Tue Jul 17 10:49:08 CEST 2007

The results are in the same order :S

Is it an HSearch bug ?

Thank you.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list