[jira] Commented: (LUCENE-2089) explore using automaton for fuzzyquery

2010-02-21 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836491#action_12836491 ] Robert Muir commented on LUCENE-2089: - based on the work mike provided here (slightly

[jira] Commented: (LUCENE-2089) explore using automaton for fuzzyquery

2010-02-21 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836481#action_12836481 ] Robert Muir commented on LUCENE-2089: - Mike, i made some modifications (mostly places

[VOTE] Lucene Java 2.9.2 and 3.0.1 release artifacts - Take #2

2010-02-21 Thread Uwe Schindler
Hallo Folks, I have posted a new release candidate (take #2) for both Lucene Java 2.9.2 and 3.0.1 (which both have the same bug fix level, functionality and release announcement), build from revision 912433 of the corresponding branches. Thanks for all your help! Please test them and give your

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Fix Version/s: (was: 3.0.1) (was: 2.9.2) > Function queries produci

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2271: -- Attachment: LUCENE-2271-maybe-as-separate-collector.patch After applying Mike's patch (with mo

RE: (LUCENE-1844) Speed up junit tests

2010-02-21 Thread Uwe Schindler
I fixed the backwards test and removed the assertion there. This was forgotten to be merged back. The reason why this test fails: TestRAMDir creates 10 threads that start to add files to a RAMDir and adds content to these files. The RAMFile updates its own size and also updates the size of t

Re: (LUCENE-1844) Speed up junit tests

2010-02-21 Thread Robert Muir
Mike removed this assertion in LUCENE-2095, so this only happens in the backwards tests. On Sun, Feb 21, 2010 at 2:26 PM, Uwe Schindler wrote: > Another test-bug that now shows as a real test failure (and not only in > stderr as before, thanks to LUCENE-2274). Happens quite often, will check >

RE: (LUCENE-1844) Speed up junit tests

2010-02-21 Thread Uwe Schindler
Another test-bug that now shows as a real test failure (and not only in stderr as before, thanks to LUCENE-2274). Happens quite often, will check logs on Hudson, how often this happens. The test failure on my solaris box occurred in backwards branch of trunk. [junit] Testsuite: org.apach

[jira] Resolved: (LUCENE-2190) CustomScoreQuery (function query) is broken (due to per-segment searching)

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler resolved LUCENE-2190. --- Resolution: Fixed Assignee: Uwe Schindler (was: Michael McCandless) Lucene F

[jira] Updated: (LUCENE-2190) CustomScoreQuery (function query) is broken (due to per-segment searching)

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2190: -- Attachment: LUCENE-2190-2-branch29.patch Here the patch for 2.9 > CustomScoreQuery (function

[jira] Updated: (LUCENE-2089) explore using automaton for fuzzyquery

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-2089: --- Attachment: Lev2ParametricDescription.java gen.py New gen.py, just w

[jira] Updated: (LUCENE-2089) explore using automaton for fuzzyquery

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-2089: --- Attachment: Lev2ParametricDescription.java gen.py New patch attached

[jira] Updated: (LUCENE-2190) CustomScoreQuery (function query) is broken (due to per-segment searching)

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2190: -- Attachment: LUCENE-2190-2-branch30.patch LUCENE-2190-2-trunk.patch Updated pat

[jira] Commented: (LUCENE-2190) CustomScoreQuery (function query) is broken (due to per-segment searching)

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836410#action_12836410 ] Michael McCandless commented on LUCENE-2190: OK new patches look good Uwe! Th

[jira] Updated: (LUCENE-2190) CustomScoreQuery (function query) is broken (due to per-segment searching)

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2190: -- Attachment: LUCENE-2190-2-branch30.patch LUCENE-2190-2-trunk.patch Here the pa

[jira] Resolved: (LUCENE-2274) Catch exceptions in Threads created by JUnit tasks

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler resolved LUCENE-2274. --- Resolution: Fixed Committed Revision: 912376 > Catch exceptions in Threads created by JUnit

[jira] Updated: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-2271: --- Attachment: LUCENE-2271.patch I think we should fix a few doc issues, and add assert

[jira] Commented: (LUCENE-2190) CustomScoreQuery (function query) is broken (due to per-segment searching)

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836396#action_12836396 ] Michael McCandless commented on LUCENE-2190: Patch looks good! Only thing is

[jira] Commented: (LUCENE-2274) Catch exceptions in Threads created by JUnit tasks

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836393#action_12836393 ] Michael McCandless commented on LUCENE-2274: New patch looks good Uwe! > Catc

[jira] Updated: (LUCENE-2274) Catch exceptions in Threads created by JUnit tasks

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2274: -- Attachment: LUCENE-2274.patch New patch with improvements from IRC (Mike McCandless): - revert

[jira] Commented: (LUCENE-2274) Catch exceptions in Threads created by JUnit tasks

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836388#action_12836388 ] Uwe Schindler commented on LUCENE-2274: --- The patch also fixes error reporting in the

[jira] Updated: (LUCENE-2274) Catch exceptions in Threads created by JUnit tasks

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2274: -- Attachment: LUCENE-2274.patch > Catch exceptions in Threads created by JUnit tasks > -

[jira] Created: (LUCENE-2274) Catch exceptions in Threads created by JUnit tasks

2010-02-21 Thread Uwe Schindler (JIRA)
Catch exceptions in Threads created by JUnit tasks -- Key: LUCENE-2274 URL: https://issues.apache.org/jira/browse/LUCENE-2274 Project: Lucene - Java Issue Type: Test Reporter: Uwe S

[jira] Commented: (LUCENE-2271) Function queries producing scores of -inf or NaN (e.g. 1/x) return incorrect results with TopScoreDocCollector

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836384#action_12836384 ] Michael McCandless commented on LUCENE-2271: This is a delightfully clever sol

[jira] Updated: (LUCENE-2089) explore using automaton for fuzzyquery

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-2089: --- Attachment: Lev2ParametricDescription.java gen.py New gen.py and Lev

[jira] Commented: (LUCENE-2089) explore using automaton for fuzzyquery

2010-02-21 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836372#action_12836372 ] Robert Muir commented on LUCENE-2089: - Mike, this is awesome! We can use the junit t

[jira] Updated: (LUCENE-1709) Parallelize Tests

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1709: --- Attachment: runLuceneTests.py I'm attaching the scary python script that I use to us

[jira] Updated: (LUCENE-2089) explore using automaton for fuzzyquery

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2089?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-2089: --- Attachment: Lev2ParametricDescription.java gen.py Attached gen.py, t

[jira] Resolved: (LUCENE-2269) don't download/extract 20,000 files when doing the build

2010-02-21 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir resolved LUCENE-2269. - Resolution: Fixed Committed revision 912333. > don't download/extract 20,000 files when doing t

[jira] Commented: (LUCENE-2273) FieldCacheImpl's getCacheEntries() is buggy as it uses WeakHashMap incorrectly and leads to ConcurrentModExceptions

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836361#action_12836361 ] Uwe Schindler commented on LUCENE-2273: --- I added one more null check on the weak key

[jira] Updated: (LUCENE-2269) don't download/extract 20,000 files when doing the build

2010-02-21 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2269: Attachment: LUCENE-2269.patch great idea Mike, I removed all unzipping code and changed the file t

[jira] Resolved: (LUCENE-2273) FieldCacheImpl's getCacheEntries() is buggy as it uses WeakHashMap incorrectly and leads to ConcurrentModExceptions

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler resolved LUCENE-2273. --- Resolution: Fixed Committed revision: 912330 > FieldCacheImpl's getCacheEntries() is buggy

[jira] Updated: (LUCENE-2273) FieldCacheImpl's getCacheEntries() is buggy as it uses WeakHashMap incorrectly and leads to ConcurrentModExceptions

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2273: -- Attachment: LUCENE-2273.patch Here the fix, will commit this soon. > FieldCacheImpl's getCach

[jira] Commented: (LUCENE-2273) FieldCacheImpl's getCacheEntries() is buggy as it uses WeakHashMap incorrectly and leads to ConcurrentModExceptions

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836354#action_12836354 ] Uwe Schindler commented on LUCENE-2273: --- Its already marked as experimental in the i

[jira] Commented: (LUCENE-2273) FieldCacheImpl's getCacheEntries() is buggy as it uses WeakHashMap incorrectly and leads to ConcurrentModExceptions

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836353#action_12836353 ] Michael McCandless commented on LUCENE-2273: Can we add @lucene.internal to th

[jira] Created: (LUCENE-2273) FieldCacheImpl's getCacheEntries() is buggy as it uses WeakHashMap incorrectly and leads to ConcurrentModExceptions

2010-02-21 Thread Uwe Schindler (JIRA)
FieldCacheImpl's getCacheEntries() is buggy as it uses WeakHashMap incorrectly and leads to ConcurrentModExceptions --- Key: LUCENE-2273 URL: https://i

[jira] Updated: (LUCENE-2273) FieldCacheImpl's getCacheEntries() is buggy as it uses WeakHashMap incorrectly and leads to ConcurrentModExceptions

2010-02-21 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-2273: -- Fix Version/s: 3.1 Assignee: Uwe Schindler > FieldCacheImpl's getCacheEntries() is bu

[jira] Commented: (LUCENE-2269) don't download/extract 20,000 files when doing the build

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836352#action_12836352 ] Michael McCandless commented on LUCENE-2269: Patch looks great! This speeds u

[jira] Commented: (LUCENE-1844) Speed up junit tests

2010-02-21 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836350#action_12836350 ] Michael McCandless commented on LUCENE-1844: TestNorms fix looks great Robert!

[jira] Updated: (LUCENE-1844) Speed up junit tests

2010-02-21 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-1844: Attachment: LUCENE-1844_norms.patch i sorted all tests on reverse time, and looked at a few of the

[jira] Reopened: (LUCENE-1844) Speed up junit tests

2010-02-21 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir reopened LUCENE-1844: - reopening as i have some ideas to speed up some tests. > Speed up junit tests > ---

Re: (LUCENE-1844) Speed up junit tests

2010-02-21 Thread Robert Muir
here is what i was worried about, if we cannot fix, i can revert back to forking. This is not reproduceable all the time: [junit] Testcase: testParallelMultiSort(org.apache.lucene.search.TestSort): Caused an ERROR [junit] java.util.ConcurrentModificationException [junit] java.lang.Runt