[
http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-4?page=...
]
Brandon Munroe updated HSEARCH-4:
---------------------------------
Attachment: SortField.zip
While I was implementing Hardy's fix, I came across the issue where sorting on a Field
that is tokenized causes a Lucene exception. Instead of creating a new property whose
sole purpose was to allow sorting on the property un-tokenized, I have created a SortField
annotation that can be placed on any existing field. It works in conjunction with
Hardy's fix, it just allows POJOs to have an annotation that allows sorting on a
tokenized field, handling them in an un-tokenized, un-stored manner. I have attached a
zip file with my DocumentBuilder.java, a diff on DocumentBuilder, and my SortField
annotation class.
Be able to use a Lucene Sort on queries (Hardy Ferentschik)
-----------------------------------------------------------
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
Fix For: 3.0.0.beta2
Attachments: hibernate-search.diff, SearchDaoImpl.java, Sort.zip, SortField.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