[hibernate-issues] [Hibernate-JIRA] Resolved: (HSEARCH-97) Problem with date Sort
Emmanuel Bernard (JIRA)
noreply at atlassian.com
Wed Jul 25 16:40:52 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-97?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bernard resolved HSEARCH-97.
-------------------------------------
Resolution: Cannot Reproduce
Fix Version/s: (was: 3.0.0.beta4)
I could not find the failing test case in your code.
But at least somehting is wrong as I told you on the forum, you must not use TOKENIZED fields when sorting.
Anyway, I updated the test in org.hibernate.search.test.query.LuceneSortTest and sorting works as expected.
> 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