[
https://issues.apache.org/jira/browse/LUCENE-3223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Male reassigned LUCENE-3223:
----------------------------------
Assignee: Chris Male
> SearchWithSortTask ignores sorting by Doc
> -----------------------------------------
>
> Key: LUCENE-3223
> URL: https://issues.apache.org/jira/browse/LUCENE-3223
> Project: Lucene - Java
> Issue Type: Bug
> Components: modules/benchmark
> Reporter: Chris Male
> Assignee: Chris Male
> Priority: Minor
> Attachments: LUCENE-3223-test.patch, LUCENE-3223.patch
>
>
> During my work in LUCENE-3912, I found the following code:
> {code}
> if (field.equals("doc")) {
> sortField0 = SortField.FIELD_DOC;
> } if (field.equals("score")) {
> sortField0 = SortField.FIELD_SCORE;
> } ...
> {code}
> This means the setting of SortField.FIELD_DOC is ignored. While I don't know
> much about this code, this seems like a valid setting and obviously just a
> bug.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]