[ 
https://issues.apache.org/jira/browse/LUCENE-6709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16516062#comment-16516062
 ] 

Hoss Man commented on LUCENE-6709:
----------------------------------

I don't understand your question...
 * the tests that i know of that mention LUCENE-6709 are Solr tests marked 
AwaitsFix - not BadApple, so they aren't run by any jenkins job that i know of 
(even on the BadApple jenkins job results they are listed as "skipped")
 * when i try to run some of them manually with something like {{ant test 
-Dtests.awaitsfix=true -Dtestcase=TestMinMaxOnMultiValuedField 
-Dtests.method=testIntFieldCache}} i do in fact see failures depending on the 
randomization of points vs trie fields
 ** this limitation that UninvertedReader's SortedSetDocValues doesn't work 
with SortedSetSelector doesn't affect Points fields since they don't use 
SortedSetDocValues
 ** you can force it to fail everytime w/something like this: {{ant test 
-Dtests.awaitsfix=true -Dtestcase=TestMinMaxOnMultiValuedField 
-Dtests.method=testIntFieldCache -Dsolr.tests.use.numeric.points=false}}
 * even if the underlying functionality requested in LUCENE-6709 had been 
added/fixed to UninvertedReader w/o updating those tests, they still wouldn''t 
start automatically working, since the Affected solr field types have explicit 
error checks that would prevent that could from being usable until they were 
removed...
{noformat}
$ grep -A 5 LUCENE-6709 ./src/java/org/apache/solr/schema/TrieField.java
    // See LUCENE-6709
    if (! field.hasDocValues()) {
      throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
                              "docValues='true' is required to select '" + 
choice.toString() +
                              "' value from multivalued field ("+ 
field.getName() +") at query time");
    }
{noformat}

> Add RandomAccessOrds support to UninvertedReader's SortedSetDocValues impl 
> (DocTermOrds.Iterator)
> -------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-6709
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6709
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Hoss Man
>            Priority: Major
>
> UninvertedReader's SortedSetDocValues impl doesn't implement the 
> RandomAccessOrds API, so it can't be used with SortedSetSelector.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to