[
https://issues.apache.org/jira/browse/LUCENE-6564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Uwe Schindler updated LUCENE-6564:
----------------------------------
Attachment: LUCENE-6564.patch
Here my patch.
The output looks like this:
{noformat}
$ ant test -Dtestcase=TestIndexWriter -Dtests.verbose=true
...
[junit4] 1> DW 108 [2015-06-15T17:06:45.2Z; main]: publishFlushedSegment
seg-private updates=null
[junit4] 1> IW 108 [2015-06-15T17:06:45.201Z; main]: publishFlushedSegment
[junit4] 1> IW 108 [2015-06-15T17:06:45.201Z; main]: publish sets
newSegment delGen=3 seg=_1(6.0.0):C1
[junit4] 1> IFD 108 [2015-06-15T17:06:45.201Z; main]: now checkpoint
"_0(6.0.0):C1 _1(6.0.0):C1" [2 segments ; isCommit = false]
[junit4] 1> IFD 108 [2015-06-15T17:06:45.202Z; main]: 0 msec to checkpoint
[junit4] 1> IW 108 [2015-06-15T17:06:45.202Z; main]: apply all deletes
during flush
[junit4] 1> IW 108 [2015-06-15T17:06:45.203Z; main]: now apply all deletes
for all segments maxDoc=2
[junit4] 1> BD 108 [2015-06-15T17:06:45.203Z; main]: applyDeletes: open
segment readers took 0 msec
[junit4] 1> BD 108 [2015-06-15T17:06:45.203Z; main]: applyDeletes: no
segments; skipping
[junit4] 1> BD 108 [2015-06-15T17:06:45.203Z; main]: prune sis=segments_1:
_0(6.0.0):C1 _1(6.0.0):C1 minGen=1 packetCount=0
[junit4] 1> DW 108 [2015-06-15T17:06:45.204Z; main]:
TEST-TestIndexWriter.testDeleteUnusedFiles2-seed#[4A62A887A4681DB2]
finishFullFlush success=true
[junit4] 1> TMP 108 [2015-06-15T17:06:45.204Z; main]: findMerges: 2
segments
[junit4] 1> TMP 108 [2015-06-15T17:06:45.205Z; main]: seg=_0(6.0.0):C1
size=0.001 MB [floored]
[junit4] 1> TMP 108 [2015-06-15T17:06:45.205Z; main]: seg=_1(6.0.0):C1
size=0.001 MB [floored]
[junit4] 1> TMP 108 [2015-06-15T17:06:45.206Z; main]:
allowedSegmentCount=1 vs count=2 (eligible count=2) tooBigCount=0
[junit4] 1> IW 108 [2015-06-15T17:06:45.206Z; main]: startCommit(): start
[junit4] 1> IW 108 [2015-06-15T17:06:45.206Z; main]: startCommit
index=_0(6.0.0):C1 _1(6.0.0):C1 changeCount=7
[junit4] 1> IW 108 [2015-06-15T17:06:45.208Z; main]: startCommit: wrote
pending segments file "pending_segments_2"
{noformat}
> Normalize date format for IW in unit tests
> ------------------------------------------
>
> Key: LUCENE-6564
> URL: https://issues.apache.org/jira/browse/LUCENE-6564
> Project: Lucene - Core
> Issue Type: Improvement
> Components: general/test
> Reporter: Ramkumar Aiyengar
> Assignee: Ramkumar Aiyengar
> Priority: Minor
> Fix For: 5.3
>
> Attachments: LUCENE-6564.patch, LUCENE-6564.patch, LUCENE-6564.patch
>
>
> Noticed while debugging some IW output in an unit test that milliseconds were
> not output in the date, changed this to reuse the date format used by
> {{PrintStreamInfoStream}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]