Mailing List Archive

[jira] [Created] (LUCENE-4033) Sort api problems
Robert Muir created LUCENE-4033:
-----------------------------------

Summary: Sort api problems
Key: LUCENE-4033
URL: https://issues.apache.org/jira/browse/LUCENE-4033
Project: Lucene - Java
Issue Type: Bug
Affects Versions: 4.0
Reporter: Robert Muir


I tried to sort on some various docvalues fields (just byte arrays), a few problems:
* Sort.TYPE.BYTES always throws an exception (its not in the switch?)
* only Sort.TYPE String,Float,Int actually honor 'useDocValues'. This is pretty screwy,
why don't the others? at least we should throw an exception and don't try to uninvert something.

In general i dont like the useDocValues: I think this should be done another way...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org