Robert Muir created LUCENE-6404:
-----------------------------------
Summary: MemoryIndex payloads are sometimes out of bounds.
Key: LUCENE-6404
URL: https://issues.apache.org/jira/browse/LUCENE-6404
Project: Lucene - Core
Issue Type: Bug
Reporter: Robert Muir
See patch for tests:
ant test -Dtestcase=TestMemoryIndexAgainstRAMDir
-Dtests.method=testRandomQueries -Dtests.seed=CB6EBF17EFD0300E
{noformat}
[junit4] ERROR 4.82s | TestMemoryIndexAgainstRAMDir.testRandomQueries <<<
[junit4] > Throwable #1: java.lang.RuntimeException: term [74 65 6c 6d]:
doc 0: pos 85 payload length is out of bounds 0
[junit4] > at
__randomizedtesting.SeedInfo.seed([CB6EBF17EFD0300E:95450FFBD70A1D90]:0)
[junit4] > at
org.apache.lucene.index.CheckIndex.checkFields(CheckIndex.java:1335)
[junit4] > at
org.apache.lucene.index.CheckIndex.testPostings(CheckIndex.java:1694)
[junit4] > at
org.apache.lucene.util.TestUtil.checkReader(TestUtil.java:315)
[junit4] > at
org.apache.lucene.util.TestUtil.checkReader(TestUtil.java:297)
[junit4] > at
org.apache.lucene.index.memory.TestMemoryIndexAgainstRAMDir.assertAgainstRAMDirectory(TestMemoryIndexAgainstRAMDir.java
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]