[ https://issues.apache.org/jira/browse/LUCENE-5300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrien Grand updated LUCENE-5300: --------------------------------- Attachment: LUCENE-5300.patch It was tempting to check for {{ordIndexes}} for simplicity but I agree it is safer to explicitely write the format. Here is a patch that fixes that. > SORTED_SET could use SORTED encoding when the field is actually single-valued > ----------------------------------------------------------------------------- > > Key: LUCENE-5300 > URL: https://issues.apache.org/jira/browse/LUCENE-5300 > Project: Lucene - Core > Issue Type: Improvement > Reporter: Adrien Grand > Assignee: Adrien Grand > Priority: Minor > Attachments: LUCENE-5300.patch, LUCENE-5300.patch > > > It would be nice to detect when a SORTED_SET field is single-valued in order > to optimize storage. -- This message was sent by Atlassian JIRA (v6.1#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org