[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-4?page=...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira