[
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
[
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
> ---
>
>
[
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
[
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()
[
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
[
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
[
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
[
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
> ---
>
>
[
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
[
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
[
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
11 matches
Mail list logo