[hibernate-issues] [Hibernate-JIRA] Updated: (HSEARCH-4) Be able to use a Lucene Sort er on queries

Brandon Munroe (JIRA) noreply at atlassian.com
Thu May 3 00:08:04 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brandon Munroe updated HSEARCH-4:
---------------------------------

    Attachment: Sort.zip

I have created a Sort annotation for implementing the Lucene Sort, and have attached the implementation.  It allows only one "Sort" annotation per class, and also allows for individual queries to be set to sort in descending order.  I also modified the LuceneQueryTest to test the implementation.  The following files are contained in the zip file:
Sort.java (Annotation)
FullTextSession.java (Allow for creation of descending order queries)
FullTextSessionImpl.java (See above)
DocumentBuilder.java (Handle Sort annotation)
FullTextQueryImpl.java (Handle descending sort order and Lucene Sort creation)
LuceneQueryTest.java (Add test for sorting)
Book.java (Add Sort annotation to summary field for LuceneQueryTest)


> Be able to use a Lucene Sort er on queries
> ------------------------------------------
>
>                 Key: HSEARCH-4
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-4
>             Project: Hibernate Search
>          Issue Type: New Feature
>          Components: query
>            Reporter: Emmanuel Bernard
>            Assignee: Emmanuel Bernard
>         Attachments: hibernate-search.diff, SearchDaoImpl.java, Sort.zip
>
>


-- 
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