[jira] Updated: (SOLR-264) Support 'random' sort order

2007-06-24 Thread Koji Sekiguchi (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koji Sekiguchi updated SOLR-264: Attachment: SOLR-264-RandomSortField-2.patch Some non-ASCII characters were slipped into the previous

[jira] Updated: (SOLR-264) Support 'random' sort order

2007-06-23 Thread Koji Sekiguchi (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koji Sekiguchi updated SOLR-264: Comment: was deleted > Support 'random' sort order > --- > >

[jira] Updated: (SOLR-264) Support 'random' sort order

2007-06-21 Thread Koji Sekiguchi (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Koji Sekiguchi updated SOLR-264: Attachment: SOLR-264-RandomSortField-2.patch > public SortComparatorSource getFactory() { > : > r

[jira] Updated: (SOLR-264) Support 'random' sort order

2007-06-19 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-264: --- Attachment: RandomSortField.java changed to use: "return key >>> 1;" and seed ^ reader.getVersion()

[jira] Updated: (SOLR-264) Support 'random' sort order

2007-06-19 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley updated SOLR-264: -- Attachment: RandomSortField.java If we want the comparator to be transitive, a subtraction doesn't work w

[jira] Updated: (SOLR-264) Support 'random' sort order

2007-06-19 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-264: --- Attachment: RandomSortField.java wow. Here is an updated version that uses the field name hash for t

[jira] Updated: (SOLR-264) Support 'random' sort order

2007-06-19 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley updated SOLR-264: -- Attachment: RandomSortField.java Just for the fun of it, added prototype (read: completely untested) Valu

[jira] Updated: (SOLR-264) Support 'random' sort order

2007-06-19 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yonik Seeley updated SOLR-264: -- Attachment: RandomSortField.java > Support 'random' sort order > --- > >

[jira] Updated: (SOLR-264) Support 'random' sort order

2007-06-18 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-264: --- Attachment: SOLR-264-RandomSortOrder.patch using: rand.nextBoolean() ? -1 : 1; the fancy pants >>> r

[jira] Updated: (SOLR-264) Support 'random' sort order

2007-06-18 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-264: --- Attachment: SOLR-264-RandomSortOrder.patch Random sorting implemented as a FieldType. to enable random

[jira] Updated: (SOLR-264) Support 'random' sort order

2007-06-18 Thread Ryan McKinley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-264?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ryan McKinley updated SOLR-264: --- Attachment: SOLR-264-RandomSortOrder.patch Implements a 'ScoreDocComparator' that returns a random numb