[jira] [Updated] (LUCENE-7910) How to create new plugin for Lucene

2017-07-21 Thread Jaewoo Kim (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-7910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaewoo Kim updated LUCENE-7910:
---
Description: Does anyone know what is the best practice or workflow for 
creating a plugin for Lucene. How do we adapt our system to keep up with new 
versions of Lucene when it is released? We are modifying Lucene's 
analysis/querying process to support typed (entity) search. Thanks.   (was: 
Does anyone know what is the best practice or workflow for creating a plugin 
for Lucene. We are modifying Lucene's analysis/querying process to support 
typed (entity) search. Thanks. )

> How to create new plugin for Lucene 
> 
>
> Key: LUCENE-7910
> URL: https://issues.apache.org/jira/browse/LUCENE-7910
> Project: Lucene - Core
>  Issue Type: New Feature
>Reporter: Jaewoo Kim
>Priority: Minor
>
> Does anyone know what is the best practice or workflow for creating a plugin 
> for Lucene. How do we adapt our system to keep up with new versions of Lucene 
> when it is released? We are modifying Lucene's analysis/querying process to 
> support typed (entity) search. Thanks. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Created] (LUCENE-7910) How to create new plugin for Lucene

2017-07-21 Thread Jaewoo Kim (JIRA)
Jaewoo Kim created LUCENE-7910:
--

 Summary: How to create new plugin for Lucene 
 Key: LUCENE-7910
 URL: https://issues.apache.org/jira/browse/LUCENE-7910
 Project: Lucene - Core
  Issue Type: New Feature
Reporter: Jaewoo Kim
Priority: Minor


Does anyone know what is the best practice or workflow for creating a plugin 
for Lucene. We are modifying Lucene's analysis/querying process to support 
typed (entity) search. Thanks. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Created] (LUCENE-7881) Change Postings Format

2017-06-17 Thread Jaewoo Kim (JIRA)
Jaewoo Kim created LUCENE-7881:
--

 Summary: Change Postings Format 
 Key: LUCENE-7881
 URL: https://issues.apache.org/jira/browse/LUCENE-7881
 Project: Lucene - Core
  Issue Type: Wish
Reporter: Jaewoo Kim
Priority: Minor


I would like to customize the postings format in lucene to hold more 
information about each token. I am looking into FreqProxPostingArray. Is this 
the actual data structure that holds the postings? I also looked at 
SimpleTextFieldsWriter. What other files should I look at in order to see the 
changes in index?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Reopened] (LUCENE-7879) Cannot run Junit Test.

2017-06-14 Thread Jaewoo Kim (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaewoo Kim reopened LUCENE-7879:


Still not working 

> Cannot run Junit Test. 
> ---
>
> Key: LUCENE-7879
> URL: https://issues.apache.org/jira/browse/LUCENE-7879
> Project: Lucene - Core
>  Issue Type: Bug
>  Components: general/test
>Affects Versions: 6.5.1
> Environment: MacOS 
>Reporter: Jaewoo Kim
>Priority: Minor
> Fix For: master (7.0)
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> We built lucene using ant, opened the project on eclipse and ran Junit tests. 
> Some tests are successful but alot of the tests report an exception. For 
> example, running Junit test on TestIndexWriter.java produces
> * "An SPI class of type org.apache.lucene.codecs.Codec with name 'Asserting' 
> does not exist.  You need to add the corresponding JAR file supporting this 
> SPI to your classpath.  The current classpath supports the following names: 
> [Lucene60, Lucene62, SimpleText, Lucene70]".*
>   
>  Does anyone have a good idea about why most of the unit tests are not 
> successful for us on eclipse? 
> The whole error message in console is: 
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testNRTAfterCommit -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testManySeparateThreads -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testCloseWhileMergeIsRunning -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testChangesAfterClose -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testUnlimitedMaxFieldLength -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testStopwordsPosIncHole2 -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> jun 14, 2017 6:59:22 PM 
> com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
>  uncaughtException
> ADVERTENCIA: Uncaught exception in thread: 
> Thread[Thread-102,5,TGRP-TestIndexWriter]
> java.lang.IllegalArgumentException: An SPI class of type 
> org.apache.lucene.codecs.Codec with name 'Asserting' does not exist.  You 
> need to add the corresponding JAR file supporting this SPI to your classpath. 
>  The current classpath supports the following names: [Lucene60, Lucene62, 
> SimpleText, Lucene70]
>   at __randomizedtesting.SeedInfo.seed([74868B172C079B1F]:0)
>   at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:114)
>   at org.apache.lucene.codecs.Codec.forName(Codec.java:116)
>   at org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:419)
>   at 
> org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:358)
>   at 
> org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:293)
>   at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:529)
>   at org.apache.lucene.util.TestUtil.checkIndex(TestUtil.java:300)
>   at 
> org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:865)
>   at org.apache.lucene.util.IOUtils.close(IOUtils.java:89)
>   at org.apache.lucene.util.IOUtils.close(IOUtils.java:76)
>   at 
> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1104)
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testThreadInterruptDeadlock -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testDoBeforeAfterFlush -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testEmptyDocAfterFlushingRealDoc -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> 

[jira] [Commented] (LUCENE-7879) Cannot run Junit Test.

2017-06-14 Thread Jaewoo Kim (JIRA)

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

Jaewoo Kim commented on LUCENE-7879:


Thanks for the reply. So I actually did that before and I ran the command 
again. I see that it succeeds with this echo: SUCCESS: You must right-click 
your project and choose Refresh.

However, the same Junit test fail is happening. So in theory, since I just 
forked and built lucene without changing it, all unit tests should work right? 

> Cannot run Junit Test. 
> ---
>
> Key: LUCENE-7879
> URL: https://issues.apache.org/jira/browse/LUCENE-7879
> Project: Lucene - Core
>  Issue Type: Bug
>  Components: general/test
>Affects Versions: 6.5.1
> Environment: MacOS 
>Reporter: Jaewoo Kim
>Priority: Minor
> Fix For: master (7.0)
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> We built lucene using ant, opened the project on eclipse and ran Junit tests. 
> Some tests are successful but alot of the tests report an exception. For 
> example, running Junit test on TestIndexWriter.java produces
> * "An SPI class of type org.apache.lucene.codecs.Codec with name 'Asserting' 
> does not exist.  You need to add the corresponding JAR file supporting this 
> SPI to your classpath.  The current classpath supports the following names: 
> [Lucene60, Lucene62, SimpleText, Lucene70]".*
>   
>  Does anyone have a good idea about why most of the unit tests are not 
> successful for us on eclipse? 
> The whole error message in console is: 
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testNRTAfterCommit -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testManySeparateThreads -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testCloseWhileMergeIsRunning -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testChangesAfterClose -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testUnlimitedMaxFieldLength -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testStopwordsPosIncHole2 -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> jun 14, 2017 6:59:22 PM 
> com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
>  uncaughtException
> ADVERTENCIA: Uncaught exception in thread: 
> Thread[Thread-102,5,TGRP-TestIndexWriter]
> java.lang.IllegalArgumentException: An SPI class of type 
> org.apache.lucene.codecs.Codec with name 'Asserting' does not exist.  You 
> need to add the corresponding JAR file supporting this SPI to your classpath. 
>  The current classpath supports the following names: [Lucene60, Lucene62, 
> SimpleText, Lucene70]
>   at __randomizedtesting.SeedInfo.seed([74868B172C079B1F]:0)
>   at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:114)
>   at org.apache.lucene.codecs.Codec.forName(Codec.java:116)
>   at org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:419)
>   at 
> org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:358)
>   at 
> org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:293)
>   at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:529)
>   at org.apache.lucene.util.TestUtil.checkIndex(TestUtil.java:300)
>   at 
> org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:865)
>   at org.apache.lucene.util.IOUtils.close(IOUtils.java:89)
>   at org.apache.lucene.util.IOUtils.close(IOUtils.java:76)
>   at 
> org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1104)
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testThreadInterruptDeadlock -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
> -Dtests.file.encoding=UTF-8
> NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
> -Dtests.method=testDoBeforeAfterFlush -Dtests.seed=74868B172C079B1F 
> -Dtests.locale=es-EC -Dtests.timezone=PRT 

[jira] [Updated] (LUCENE-7879) Cannot run Junit Test.

2017-06-14 Thread Jaewoo Kim (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaewoo Kim updated LUCENE-7879:
---
Description: 
We built lucene using ant, opened the project on eclipse and ran Junit tests. 
Some tests are successful but alot of the tests report an exception. For 
example, running Junit test on TestIndexWriter.java produces

* "An SPI class of type org.apache.lucene.codecs.Codec with name 'Asserting' 
does not exist.  You need to add the corresponding JAR file supporting this SPI 
to your classpath.  The current classpath supports the following names: 
[Lucene60, Lucene62, SimpleText, Lucene70]".*
  
 Does anyone have a good idea about why most of the unit tests are not 
successful for us on eclipse? 

The whole error message in console is: 

NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testNRTAfterCommit -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testManySeparateThreads -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testCloseWhileMergeIsRunning -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testChangesAfterClose -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testUnlimitedMaxFieldLength -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testStopwordsPosIncHole2 -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
jun 14, 2017 6:59:22 PM 
com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
 uncaughtException
ADVERTENCIA: Uncaught exception in thread: 
Thread[Thread-102,5,TGRP-TestIndexWriter]
java.lang.IllegalArgumentException: An SPI class of type 
org.apache.lucene.codecs.Codec with name 'Asserting' does not exist.  You need 
to add the corresponding JAR file supporting this SPI to your classpath.  The 
current classpath supports the following names: [Lucene60, Lucene62, 
SimpleText, Lucene70]
at __randomizedtesting.SeedInfo.seed([74868B172C079B1F]:0)
at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:114)
at org.apache.lucene.codecs.Codec.forName(Codec.java:116)
at org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:419)
at 
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:358)
at 
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:293)
at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:529)
at org.apache.lucene.util.TestUtil.checkIndex(TestUtil.java:300)
at 
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:865)
at org.apache.lucene.util.IOUtils.close(IOUtils.java:89)
at org.apache.lucene.util.IOUtils.close(IOUtils.java:76)
at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1104)

NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testThreadInterruptDeadlock -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testDoBeforeAfterFlush -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testEmptyDocAfterFlushingRealDoc -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testDontInvokeAnalyzerForUnAnalyzedFields 
-Dtests.seed=74868B172C079B1F -Dtests.locale=es-EC -Dtests.timezone=PRT 
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testIndexStoreCombos -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testEmptyFieldNameTerms -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 

[jira] [Updated] (LUCENE-7879) Cannot run Junit Test.

2017-06-14 Thread Jaewoo Kim (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaewoo Kim updated LUCENE-7879:
---
Description: 
We built lucene using ant, opened the project on eclipse and ran Junit tests. 
Some tests are successful but alot of the tests report an exception. For 
example, running Junit test on TestIndexWriter.java produces
* "An SPI class of type org.apache.lucene.codecs.Codec with name 'Asserting' 
does not exist.  You need to add the corresponding JAR file supporting this SPI 
to your classpath.  The current classpath supports the following names: 
[Lucene60, Lucene62, SimpleText, Lucene70]".* 
* 
*  Does anyone have a good idea about why most of the unit tests are not 
successful for us on eclipse? 

The whole error message in console is: 

NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testNRTAfterCommit -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testManySeparateThreads -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testCloseWhileMergeIsRunning -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testChangesAfterClose -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testUnlimitedMaxFieldLength -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testStopwordsPosIncHole2 -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
jun 14, 2017 6:59:22 PM 
com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
 uncaughtException
ADVERTENCIA: Uncaught exception in thread: 
Thread[Thread-102,5,TGRP-TestIndexWriter]
java.lang.IllegalArgumentException: An SPI class of type 
org.apache.lucene.codecs.Codec with name 'Asserting' does not exist.  You need 
to add the corresponding JAR file supporting this SPI to your classpath.  The 
current classpath supports the following names: [Lucene60, Lucene62, 
SimpleText, Lucene70]
at __randomizedtesting.SeedInfo.seed([74868B172C079B1F]:0)
at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:114)
at org.apache.lucene.codecs.Codec.forName(Codec.java:116)
at org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:419)
at 
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:358)
at 
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:293)
at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:529)
at org.apache.lucene.util.TestUtil.checkIndex(TestUtil.java:300)
at 
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:865)
at org.apache.lucene.util.IOUtils.close(IOUtils.java:89)
at org.apache.lucene.util.IOUtils.close(IOUtils.java:76)
at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1104)

NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testThreadInterruptDeadlock -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testDoBeforeAfterFlush -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testEmptyDocAfterFlushingRealDoc -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testDontInvokeAnalyzerForUnAnalyzedFields 
-Dtests.seed=74868B172C079B1F -Dtests.locale=es-EC -Dtests.timezone=PRT 
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testIndexStoreCombos -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testEmptyFieldNameTerms -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 

[jira] [Updated] (LUCENE-7879) Cannot run Junit Test.

2017-06-14 Thread Jaewoo Kim (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaewoo Kim updated LUCENE-7879:
---
Description: 
We built lucene using ant, opened the project on eclipse and ran Junit tests. 
Some tests are successful but alot of the tests report an exception. For 
example, running Junit test on TestIndexWriter.java produces* "An SPI class of 
type org.apache.lucene.codecs.Codec with name 'Asserting' does not exist.  You 
need to add the corresponding JAR file supporting this SPI to your classpath.  
The current classpath supports the following names: [Lucene60, Lucene62, 
SimpleText, Lucene70]".*  Does anyone have a good idea about why most of the 
unit tests are not successful for us on eclipse? 

The whole error message in console is: 

NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testNRTAfterCommit -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testManySeparateThreads -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testCloseWhileMergeIsRunning -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testChangesAfterClose -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testUnlimitedMaxFieldLength -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testStopwordsPosIncHole2 -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
jun 14, 2017 6:59:22 PM 
com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
 uncaughtException
ADVERTENCIA: Uncaught exception in thread: 
Thread[Thread-102,5,TGRP-TestIndexWriter]
java.lang.IllegalArgumentException: An SPI class of type 
org.apache.lucene.codecs.Codec with name 'Asserting' does not exist.  You need 
to add the corresponding JAR file supporting this SPI to your classpath.  The 
current classpath supports the following names: [Lucene60, Lucene62, 
SimpleText, Lucene70]
at __randomizedtesting.SeedInfo.seed([74868B172C079B1F]:0)
at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:114)
at org.apache.lucene.codecs.Codec.forName(Codec.java:116)
at org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:419)
at 
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:358)
at 
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:293)
at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:529)
at org.apache.lucene.util.TestUtil.checkIndex(TestUtil.java:300)
at 
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:865)
at org.apache.lucene.util.IOUtils.close(IOUtils.java:89)
at org.apache.lucene.util.IOUtils.close(IOUtils.java:76)
at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1104)

NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testThreadInterruptDeadlock -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testDoBeforeAfterFlush -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testEmptyDocAfterFlushingRealDoc -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testDontInvokeAnalyzerForUnAnalyzedFields 
-Dtests.seed=74868B172C079B1F -Dtests.locale=es-EC -Dtests.timezone=PRT 
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testIndexStoreCombos -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testEmptyFieldNameTerms -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 

[jira] [Updated] (LUCENE-7879) Cannot run Junit Test.

2017-06-14 Thread Jaewoo Kim (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-7879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jaewoo Kim updated LUCENE-7879:
---
Description: 
We built lucene using ant, opened the project on eclipse and ran Junit tests. 
Some tests are successful but alot of the tests report an exception. For 
example, running Junit test on TestIndexWriter.java produces "An SPI class of 
type org.apache.lucene.codecs.Codec with name 'Asserting' does not exist.  You 
need to add the corresponding JAR file supporting this SPI to your classpath.  
The current classpath supports the following names: [Lucene60, Lucene62, 
SimpleText, Lucene70]".  Does anyone have a good idea about why most of the 
unit tests are not successful for us on eclipse? 

The whole error message in console is: 

NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testNRTAfterCommit -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testManySeparateThreads -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testCloseWhileMergeIsRunning -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testChangesAfterClose -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testUnlimitedMaxFieldLength -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testStopwordsPosIncHole2 -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
jun 14, 2017 6:59:22 PM 
com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
 uncaughtException
ADVERTENCIA: Uncaught exception in thread: 
Thread[Thread-102,5,TGRP-TestIndexWriter]
java.lang.IllegalArgumentException: An SPI class of type 
org.apache.lucene.codecs.Codec with name 'Asserting' does not exist.  You need 
to add the corresponding JAR file supporting this SPI to your classpath.  The 
current classpath supports the following names: [Lucene60, Lucene62, 
SimpleText, Lucene70]
at __randomizedtesting.SeedInfo.seed([74868B172C079B1F]:0)
at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:114)
at org.apache.lucene.codecs.Codec.forName(Codec.java:116)
at org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:419)
at 
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:358)
at 
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:293)
at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:529)
at org.apache.lucene.util.TestUtil.checkIndex(TestUtil.java:300)
at 
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:865)
at org.apache.lucene.util.IOUtils.close(IOUtils.java:89)
at org.apache.lucene.util.IOUtils.close(IOUtils.java:76)
at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1104)

NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testThreadInterruptDeadlock -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testDoBeforeAfterFlush -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testEmptyDocAfterFlushingRealDoc -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testDontInvokeAnalyzerForUnAnalyzedFields 
-Dtests.seed=74868B172C079B1F -Dtests.locale=es-EC -Dtests.timezone=PRT 
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testIndexStoreCombos -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testEmptyFieldNameTerms -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 

[jira] [Created] (LUCENE-7879) Cannot run Junit Test.

2017-06-14 Thread Jaewoo Kim (JIRA)
Jaewoo Kim created LUCENE-7879:
--

 Summary: Cannot run Junit Test. 
 Key: LUCENE-7879
 URL: https://issues.apache.org/jira/browse/LUCENE-7879
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/test
Affects Versions: 6.5.1
 Environment: MacOS 
Reporter: Jaewoo Kim
Priority: Minor
 Fix For: master (7.0)


We are built lucene using ant, opened the project on eclipse and ran Junit 
tests. Some tests are sucessful but alot of the tests report an exception. For 
example, running Junit test on TestIndexWriter.java produces "An SPI class of 
type org.apache.lucene.codecs.Codec with name 'Asserting' does not exist.  You 
need to add the corresponding JAR file supporting this SPI to your classpath.  
The current classpath supports the following names: [Lucene60, Lucene62, 
SimpleText, Lucene70]".   

The whole error message in console is: 

NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testNRTAfterCommit -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testManySeparateThreads -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testCloseWhileMergeIsRunning -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testChangesAfterClose -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testUnlimitedMaxFieldLength -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testStopwordsPosIncHole2 -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
jun 14, 2017 6:59:22 PM 
com.carrotsearch.randomizedtesting.RandomizedRunner$QueueUncaughtExceptionsHandler
 uncaughtException
ADVERTENCIA: Uncaught exception in thread: 
Thread[Thread-102,5,TGRP-TestIndexWriter]
java.lang.IllegalArgumentException: An SPI class of type 
org.apache.lucene.codecs.Codec with name 'Asserting' does not exist.  You need 
to add the corresponding JAR file supporting this SPI to your classpath.  The 
current classpath supports the following names: [Lucene60, Lucene62, 
SimpleText, Lucene70]
at __randomizedtesting.SeedInfo.seed([74868B172C079B1F]:0)
at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:114)
at org.apache.lucene.codecs.Codec.forName(Codec.java:116)
at org.apache.lucene.index.SegmentInfos.readCodec(SegmentInfos.java:419)
at 
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:358)
at 
org.apache.lucene.index.SegmentInfos.readCommit(SegmentInfos.java:293)
at org.apache.lucene.index.CheckIndex.checkIndex(CheckIndex.java:529)
at org.apache.lucene.util.TestUtil.checkIndex(TestUtil.java:300)
at 
org.apache.lucene.store.MockDirectoryWrapper.close(MockDirectoryWrapper.java:865)
at org.apache.lucene.util.IOUtils.close(IOUtils.java:89)
at org.apache.lucene.util.IOUtils.close(IOUtils.java:76)
at 
org.apache.lucene.index.TestIndexWriter$IndexerThreadInterrupt.run(TestIndexWriter.java:1104)

NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testThreadInterruptDeadlock -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testDoBeforeAfterFlush -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testEmptyDocAfterFlushingRealDoc -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testDontInvokeAnalyzerForUnAnalyzedFields 
-Dtests.seed=74868B172C079B1F -Dtests.locale=es-EC -Dtests.timezone=PRT 
-Dtests.asserts=true -Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test  -Dtestcase=TestIndexWriter 
-Dtests.method=testIndexStoreCombos -Dtests.seed=74868B172C079B1F 
-Dtests.locale=es-EC -Dtests.timezone=PRT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
NOTE: reproduce with: ant test