[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724371#action_12724371 ] Shai Erera commented on LUCENE-1707: sure, especially if == 0 and <= 0 perform the sam

Build failed in Hudson: Lucene-trunk #870

2009-06-25 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Lucene-trunk/870/changes Changes: [mikemccand] LUCENE-1630: call the right createWeight method [mikemccand] LUCENE-1707: refCount doesn't need to be volatile [mikemccand] LUCENE-1630: make Query.createQueryWeight optional, with default impl to wrap

Re: [jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-25 Thread Mark Miller
P.S Looking forward to this issue. Just ordered the cheapest quad core laptop I could find :) So long dual core. - Mark Mark Miller wrote: I found a couple external solutions last I looked. They appeared to have various limitations though. I really think, longer term, the built in support is

Re: [jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-25 Thread Mark Miller
I found a couple external solutions last I looked. They appeared to have various limitations though. I really think, longer term, the built in support is the way to go. I'd hate to require a certain version of ANT (its only the very latest 4.6 release), but perhaps we could set it up to work ea

Re: [jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-25 Thread Jason Rutherglen
There's this foreach parallel ant-contrib task. Perhaps we have a winner! http://www.jadeliquid.com/liquidtest/docs/doku.php?id=developers:cookbooks:scaling_liquidtest_with_junit_parallel:home http://ant-contrib.sourceforge.net/tasks/tasks/foreach.html On Thu, Jun 25, 2009 at 7:14 PM, Mark Mill

Re: [jira] Commented: (LUCENE-1709) Parallelize Tests

2009-06-25 Thread Mark Miller
JUnit also supports parallelizing tasks, but its only in the very latest release. I'd check out that. There are generally more issues than just firing off multiple tests at once. -- - Mark http://www.lucidimagination.com Jason Rutherglen (JIRA) wrote: [ https://issues.apache.org/jira/br

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

2009-06-25 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724325#action_12724325 ] Jason Rutherglen commented on LUCENE-1709: -- {quote} Do you mean that you would im

[jira] Commented: (LUCENE-1461) Cached filter for a single term field

2009-06-25 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724322#action_12724322 ] Uwe Schindler commented on LUCENE-1461: --- Mike: There is one thing, I wanted to know,

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

2009-06-25 Thread Johan Kindgren (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724317#action_12724317 ] Johan Kindgren commented on LUCENE-1709: Just a thought from an outsider... Do you

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724296#action_12724296 ] Michael McCandless commented on LUCENE-1707: bq. Following assert we call ensu

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724291#action_12724291 ] Shai Erera commented on LUCENE-1707: bq. if an app over-decRef's and refCount becomes

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724289#action_12724289 ] Shai Erera commented on LUCENE-1630: oops .. :). I've said it before - these two just

[jira] Resolved: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1630. Resolution: Fixed > Mating Collector and Scorer on doc Id orderness >

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724283#action_12724283 ] Yonik Seeley commented on LUCENE-1707: -- I also just double-checked and confirmed that

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

2009-06-25 Thread Jason Rutherglen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724277#action_12724277 ] Jason Rutherglen commented on LUCENE-1709: -- {quote} As mentioned in the "Previous

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724284#action_12724284 ] Michael McCandless commented on LUCENE-1630: Agreed -- I'll commit shortly. >

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724268#action_12724268 ] Uwe Schindler commented on LUCENE-1630: --- I think the patch is wrong, it must be {cod

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724256#action_12724256 ] Yonik Seeley commented on LUCENE-1707: -- bq. Do you think that changing ensureOpen() t

[jira] Reopened: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reopened LUCENE-1630: Something is still amiss... from SOLR-940: {code} java.lang.StackOverflowError at org.

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724254#action_12724254 ] Michael McCandless commented on LUCENE-1707: Alas I don't think we should do t

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724251#action_12724251 ] Shai Erera commented on LUCENE-1707: Do you think that changing ensureOpen() to check

[jira] Resolved: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1707. Resolution: Fixed > Don't use ensureOpen() excessively in IndexReader and IndexWri

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724237#action_12724237 ] Michael McCandless commented on LUCENE-1707: bq. Except making refCount not vo

Re: Is close() correct?

2009-06-25 Thread Yonik Seeley
On Thu, Jun 25, 2009 at 3:34 PM, Shai Erera wrote: > Funny, we're just having a similar discussion on LUCENE-1707. Not a coincidence ;-) I attempt to at least skim all the threads I have no bandwidth to keep up with... LUCENE-1707 jiggled a neuron, but this didn't seem to be part of that issue -

Re: Is close() correct?

2009-06-25 Thread Yonik Seeley
On Thu, Jun 25, 2009 at 3:47 PM, Michael McCandless wrote: > Since close() is just a protected ("only once") call to decRef(), you > could simply always call decRef() and never close()? Yep, just re-read the javadoc to decRef()... as long as it stays that way, solr will just avoid close(). I'll op

Re: Is close() correct?

2009-06-25 Thread Michael McCandless
On Thu, Jun 25, 2009 at 3:34 PM, Shai Erera wrote: > Doesn't reopen increase the refCount already? why do you call incRef()? If you get the same reader back, the refCount is unchanged. If you get a new reader back, it returns a reference (ie, refCount is 1). Mike --

Re: Is close() correct?

2009-06-25 Thread Michael McCandless
This came up a while back and we decided (then) that double-closing should be allowed: http://issues.apache.org/jira/browse/LUCENE-818?focusedCommentId=12477399&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12477399 I think if we changed this ("every close coun

Re: Is close() correct?

2009-06-25 Thread Shai Erera
Funny, we're just having a similar discussion on LUCENE-1707. I think the purpose of closed is to save against calling close() twice w/o "knowing any better". I.e, IndexWriter.ReadersPool's release() both call decRef() (to decrease its own ref) and close() to decrease the caller's. But then the cal

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724220#action_12724220 ] Shai Erera commented on LUCENE-1707: Ok I won't argue about that - these are hypotheti

Is close() correct?

2009-06-25 Thread Yonik Seeley
Are the semantics of close() really correct when reopen() is used? public final synchronized void close() throws IOException { if (!closed) { decRef(); closed = true; } } Solr has the following code: IndexReader newReader = currentReader.reopen(); if (newRe

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724186#action_12724186 ] Michael McCandless commented on LUCENE-1707: bq. So calling decRef() twice in

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724169#action_12724169 ] Shai Erera commented on LUCENE-1707: bq. Patch looks good; thanks Shai! Note that de

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724153#action_12724153 ] Michael McCandless commented on LUCENE-1707: Patch looks good; thanks Shai! b

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724138#action_12724138 ] Shai Erera commented on LUCENE-1707: I see all access to refCount is synchronized. Why

[jira] Updated: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shai Erera updated LUCENE-1707: --- Attachment: LUCENE-1707.patch Patch with protecting against decRef() and close(). Lines 28-30 includ

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724131#action_12724131 ] Shai Erera commented on LUCENE-1707: bq. But, if refCount hits 0 and closed is false t

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724127#action_12724127 ] Michael McCandless commented on LUCENE-1707: bq. So I'm not sure closed can be

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724121#action_12724121 ] Shai Erera commented on LUCENE-1707: bq. If decRef() is called and refCount is 0, doCl

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724118#action_12724118 ] Shai Erera commented on LUCENE-1707: I tried using closed, but TestIndexReaderReopen f

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724112#action_12724112 ] Michael McCandless commented on LUCENE-1707: bq. IndexReader already has a 'cl

[jira] Updated: (LUCENE-1625) openReaderPassed not populated in CheckIndex.Status.SegmentInfoStatus

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1625: --- Fix Version/s: 2.9 > openReaderPassed not populated in CheckIndex.Status.SegmentInfo

[jira] Commented: (LUCENE-1625) openReaderPassed not populated in CheckIndex.Status.SegmentInfoStatus

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724106#action_12724106 ] Michael McCandless commented on LUCENE-1625: This patch is awesome, Tim; thank

[jira] Assigned: (LUCENE-1625) openReaderPassed not populated in CheckIndex.Status.SegmentInfoStatus

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reassigned LUCENE-1625: -- Assignee: Michael McCandless > openReaderPassed not populated in CheckIndex.St

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724103#action_12724103 ] Shai Erera commented on LUCENE-1707: IndexReader already has a 'closed' member which i

[jira] Commented: (LUCENE-1461) Cached filter for a single term field

2009-06-25 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724100#action_12724100 ] Uwe Schindler commented on LUCENE-1461: --- oh ja, found it - was copy'n'paste > Cache

[jira] Commented: (LUCENE-1461) Cached filter for a single term field

2009-06-25 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724097#action_12724097 ] Uwe Schindler commented on LUCENE-1461: --- where? these are typical copy'n'paste error

[jira] Commented: (LUCENE-1461) Cached filter for a single term field

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724096#action_12724096 ] Michael McCandless commented on LUCENE-1461: Patch looks good, Uwe! The only

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724090#action_12724090 ] Michael McCandless commented on LUCENE-1707: bq. However, I thought we agreed

[jira] Commented: (LUCENE-1717) IndexWriter does not properly account for the RAM consumed by pending deletes

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724085#action_12724085 ] Michael McCandless commented on LUCENE-1717: bq. is there already an issue to

[jira] Resolved: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1630. Resolution: Fixed > Mating Collector and Scorer on doc Id orderness >

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724079#action_12724079 ] Michael McCandless commented on LUCENE-1630: I'll commit shortly! Thanks Shai

Re: Improving TimeLimitedCollector

2009-06-25 Thread Shai Erera
When this thread was focused on Scorers only, I wanted to offer the following: * Have a TimeLimitingQuery which will wrap another Query, and delegate all the calls to it, except queryWeight, which will create TimeLimitingWeight. * Have a TimeLimitingWeight which will wrap the original query's Quer

[jira] Commented: (LUCENE-1717) IndexWriter does not properly account for the RAM consumed by pending deletes

2009-06-25 Thread Simon Willnauer (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724074#action_12724074 ] Simon Willnauer commented on LUCENE-1717: - Regarding buffered delete's RAM usage,

[jira] Commented: (LUCENE-1707) Don't use ensureOpen() excessively in IndexReader and IndexWriter

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724055#action_12724055 ] Shai Erera commented on LUCENE-1707: bq. I'd actually rather not remove the ensureOpen

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724042#action_12724042 ] Uwe Schindler commented on LUCENE-1630: --- Looks good, this is the correct way to do t

[jira] Commented: (LUCENE-1717) IndexWriter does not properly account for the RAM consumed by pending deletes

2009-06-25 Thread Simon Willnauer (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724041#action_12724041 ] Simon Willnauer commented on LUCENE-1717: - HA, true! I missed that. Nevermind! I d

[jira] Updated: (LUCENE-1717) IndexWriter does not properly account for the RAM consumed by pending deletes

2009-06-25 Thread Simon Willnauer (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Willnauer updated LUCENE-1717: Attachment: BufferedDeletes_beautification.patch > IndexWriter does not properly account f

[jira] Updated: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shai Erera updated LUCENE-1630: --- Attachment: LUCENE-1630-2.patch Very small patch, just one class ... I can't believe it's me :) > M

[jira] Commented: (LUCENE-1717) IndexWriter does not properly account for the RAM consumed by pending deletes

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724039#action_12724039 ] Michael McCandless commented on LUCENE-1717: deletesInRAM is in fact cleared,

Re: lucene releases vs trunk

2009-06-25 Thread Yonik Seeley
On Thu, Jun 25, 2009 at 7:13 AM, Simon Willnauer wrote: > Yonik, did that mail went to the wrong mailing-list?! > Seems like you aimed to send to a solr list. Whoops... excuse me while I get another cup of coffee ;-) -Yonik http://www.lucidimagination.com

Re: lucene releases vs trunk

2009-06-25 Thread Simon Willnauer
Yonik, did that mail went to the wrong mailing-list?! Seems like you aimed to send to a solr list. simon On Thu, Jun 25, 2009 at 1:10 PM, Yonik Seeley wrote: > For the next release cycle (presumably 1.5?) I think we should really > try to stick to released versions of Lucene, and not use dev/trun

[jira] Commented: (LUCENE-1717) IndexWriter does not properly account for the RAM consumed by pending deletes

2009-06-25 Thread Simon Willnauer (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724032#action_12724032 ] Simon Willnauer commented on LUCENE-1717: - bq. But we default that to unlimited (m

lucene releases vs trunk

2009-06-25 Thread Yonik Seeley
For the next release cycle (presumably 1.5?) I think we should really try to stick to released versions of Lucene, and not use dev/trunk versions. Early in Solr's lifetime, Lucene trunk was more stable (APIs changed little, even on non-released versions), and Lucene releases were few and far betwee

[jira] Commented: (LUCENE-1716) Adding norms, properties indexing and writer.infoStream support to benchmark

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724024#action_12724024 ] Michael McCandless commented on LUCENE-1716: OK that sounds like a good plan;

[jira] Resolved: (LUCENE-1715) DirectoryIndexReader finalize() holding TermInfosReader longer than necessary

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1715. Resolution: Fixed Thanks Brian! > DirectoryIndexReader finalize() holding TermInf

[jira] Assigned: (LUCENE-1705) Add deleteAllDocuments() method to IndexWriter

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reassigned LUCENE-1705: -- Assignee: Michael McCandless > Add deleteAllDocuments() method to IndexWriter

[jira] Updated: (LUCENE-1705) Add deleteAllDocuments() method to IndexWriter

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1705: --- Attachment: LUCENE-1705.patch Patch looks good Tim! I added another test case (for

[jira] Commented: (LUCENE-1716) Adding norms, properties indexing and writer.infoStream support to benchmark

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724016#action_12724016 ] Shai Erera commented on LUCENE-1716: I was afraid of that ... I think we should just d

[jira] Commented: (LUCENE-1716) Adding norms, properties indexing and writer.infoStream support to benchmark

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724014#action_12724014 ] Michael McCandless commented on LUCENE-1716: I'm hitting a failure here: {code

[jira] Assigned: (LUCENE-1716) Adding norms, properties indexing and writer.infoStream support to benchmark

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reassigned LUCENE-1716: -- Assignee: Michael McCandless > Adding norms, properties indexing and writer.in

[jira] Commented: (LUCENE-1717) IndexWriter does not properly account for the RAM consumed by pending deletes

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724010#action_12724010 ] Michael McCandless commented on LUCENE-1717: Sorry, you are correct -- that's

[jira] Commented: (LUCENE-1717) IndexWriter does not properly account for the RAM consumed by pending deletes

2009-06-25 Thread Simon Willnauer (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724007#action_12724007 ] Simon Willnauer commented on LUCENE-1717: - Maybe I miss something but IndexWriter#

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724006#action_12724006 ] Michael McCandless commented on LUCENE-1630: bq. For these Tokenizers the cost

[jira] Created: (LUCENE-1718) IndexReader.setTermInfosIndexDivisor doesn't carry over to reopened readers

2009-06-25 Thread Michael McCandless (JIRA)
IndexReader.setTermInfosIndexDivisor doesn't carry over to reopened readers --- Key: LUCENE-1718 URL: https://issues.apache.org/jira/browse/LUCENE-1718 Project: Lucene - Java

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12724003#action_12724003 ] Uwe Schindler commented on LUCENE-1630: --- bq. Whoa, powerful! But this sounds like a

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723998#action_12723998 ] Michael McCandless commented on LUCENE-1630: That sounds like the right approa

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723996#action_12723996 ] Shai Erera commented on LUCENE-1630: Previously creaetWeight() threw UOE, and I've cha

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723995#action_12723995 ] Michael McCandless commented on LUCENE-1630: bq. With my newest TokenStream im

[jira] Commented: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12723989#action_12723989 ] Uwe Schindler commented on LUCENE-1630: --- {quote} EG, we could have the default impl

[jira] Updated: (LUCENE-1461) Cached filter for a single term field

2009-06-25 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1461: -- Attachment: LUCENE-1461.patch Updated patch. It now changes the includeUpper/Lower behaviour t

[jira] Created: (LUCENE-1717) IndexWriter does not properly account for the RAM consumed by pending deletes

2009-06-25 Thread Michael McCandless (JIRA)
IndexWriter does not properly account for the RAM consumed by pending deletes - Key: LUCENE-1717 URL: https://issues.apache.org/jira/browse/LUCENE-1717 Project: Lucene - Java

[jira] Reopened: (LUCENE-1630) Mating Collector and Scorer on doc Id orderness

2009-06-25 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reopened LUCENE-1630: SOLR-940 is hitting an exception due to the addition of QueryWeight: because we've add