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

James Dyer commented on SOLR-8364:
----------------------------------

Ok, looking closely at the log, I see this:

{noformat}
[junit4]   2> 1921118 WARN  
(TEST-SpellCheckComponentTest.test-seed#[110D525A21D16B1]) [    ] 
o.a.s.c.SolrCore [collection1] PERFORMANCE WARNING: Overlapping 
onDeckSearchers=2
{noformat}

...which seems to say we can remedy this (as suggested) with 
'waitSearcher=true'.  But in digging through TestHarness, what it does is issue 
a <commit /> to the core, and then the [reference 
guide|https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Index+Handlers#UploadingDatawithIndexHandlers-XMLFormattedIndexUpdates]
 says that the default here for 'waitSearcher' is already 'true'.  So I am not 
so sure adding it would change anything?

Perhaps we can instead remedy this by adding this to the test's solrconfig.xml?
{code:xml}
<query>
  <useColdSearcher>false</useColdSearcher>
  <maxWarmingSearchers>1</maxWarmingSearchers>
</query>
{code}

> SpellCheckComponentTest occasionally fails
> ------------------------------------------
>
>                 Key: SOLR-8364
>                 URL: https://issues.apache.org/jira/browse/SOLR-8364
>             Project: Solr
>          Issue Type: Bug
>          Components: spellchecker
>    Affects Versions: 6.0
>            Reporter: James Dyer
>            Priority: Minor
>
> This failure did not reproduce for me in Linux or Windows with the same seed.
> {quote}
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Windows/5439/
> : Java: 64bit/jdk1.8.0_66 -XX:-UseCompressedOops -XX:+UseConcMarkSweepGC
> : 
> : 1 tests failed.
> : FAILED:  org.apache.solr.handler.component.SpellCheckComponentTest.test
> : 
> : Error Message:
> : List size mismatch @ spellcheck/suggestions
> : 
> : Stack Trace:
> : java.lang.RuntimeException: List size mismatch @ spellcheck/suggestions
> {quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to