Re: Lucene as projects in Eclipse

2009-10-28 Thread Mark Miller
Ahhh - thank you :) Missed that subtlety. Erick Erickson wrote: > I could see the attachments if I went to the solr "how to contribute" > site, but not from clicking the links on the Lucene "how to > contribute" page. > > On Wed, Oct 28, 2009 at 7:54 PM, Mark Miller

RE: Optimization and Corruption Issues

2009-10-28 Thread George Aroush
Sorry, I'm just catching up with my mailing list inbox, ... Andrzej Bialecki wrote: > > > > I used the Luke tool from getopt.org and it worked flawlessly, optimizing > > the index in just over 2 hours. Problem is that my search cannot use it, and > > the error states Unknown Format Version error

Re: Lucene as projects in Eclipse

2009-10-28 Thread Erick Erickson
I could see the attachments if I went to the solr "how to contribute" site, but not from clicking the links on the Lucene "how to contribute" page. On Wed, Oct 28, 2009 at 7:54 PM, Mark Miller wrote: > I get a file not found though - you can download the attachments? > > Erick Erickson wrote: >

[jira] Updated: (LUCENE-2013) QueryScorer and SpanRegexQuery are incompatible.

2009-10-28 Thread Benjamin Keil (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Keil updated LUCENE-2013: -- Attachment: lucene-2013-2009-10-29-0136.patch The problem with that solution is that it doesn'

Re: Lucene as projects in Eclipse

2009-10-28 Thread Mark Miller
I get a file not found though - you can download the attachments? Erick Erickson wrote: > Note that the links go to the solr wiki, where I did find the two > attachments > Here's one of the from the lucene "how to contribute" Wiki page > > > http://wiki.apache.org/solr-data/attachments/How

RE: Lucene as projects in Eclipse

2009-10-28 Thread Uwe Schindler
Here is mine with fixed generics, but may be different from the one on Solr page (I created it myself some time ago). But It looks correct and was inherited from the Java Default Style. - Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -

Re: Lucene as projects in Eclipse

2009-10-28 Thread Erick Erickson
Note that the links go to the solr wiki, where I did find the two attachments Here's one of the from the lucene "how to contribute" Wiki page http://wiki.apache.org/solr-data/attachments/HowToContribute/attachments/Eclipse.3.2.codestyle.xml On Wed, Oct 28, 2009 at 7:45 PM, Mark Miller w

Re: Lucene as projects in Eclipse

2009-10-28 Thread Mark Miller
DM Smith wrote: > > On Oct 28, 2009, at 1:45 PM, Robert Muir wrote: > >> DM, >> >> I create one project (new project, checkout projects from SVN, and >> let it set it as a java project). >> I then set the source folders like you mentioned below. >> I add lib/junit*whatever.jar to library classpath,

[jira] Updated: (LUCENE-2013) QueryScorer and SpanRegexQuery are incompatible.

2009-10-28 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-2013: Fix Version/s: 3.0 > QueryScorer and SpanRegexQuery are incompatible. > --

[jira] Updated: (LUCENE-2013) QueryScorer and SpanRegexQuery are incompatible.

2009-10-28 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated LUCENE-2013: Attachment: LUCENE-2013.patch Here is what I would propose - with additional handling of regular r

RE: Lucene as projects in Eclipse

2009-10-28 Thread Uwe Schindler
Yes they are dead. I have an updated file here that also correctly formats generics (without whitespace between parameters) according to the discussion on Java-Dev. I can provide it, if needed. But it was created by hand completely, but looks correct. Uwe - Uwe Schindler H.-H.-Meier-Allee

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Marvin Humphrey (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771201#action_12771201 ] Marvin Humphrey commented on LUCENE-1997: - > What kind of comparator can't pre-cre

Re: Lucene as projects in Eclipse

2009-10-28 Thread DM Smith
On Oct 28, 2009, at 1:45 PM, Robert Muir wrote: DM, I create one project (new project, checkout projects from SVN, and let it set it as a java project). I then set the source folders like you mentioned below. I add lib/junit*whatever.jar to library classpath, and set UTF-8 default encodin

[jira] Commented: (LUCENE-2013) QueryScorer and SpanRegexQuery are incompatible.

2009-10-28 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771196#action_12771196 ] Mark Miller commented on LUCENE-2013: - Thanks for the report Benjamin - Not sure I li

[jira] Commented: (LUCENE-1257) Port to Java5

2009-10-28 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771194#action_12771194 ] Uwe Schindler commented on LUCENE-1257: --- Committed: LUCENE-1257_precendence_parse

[jira] Updated: (LUCENE-1954) InitiatedIndex: CCE on casting NumericField to Field

2009-10-28 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler updated LUCENE-1954: -- Fix Version/s: 2.9.2 > InitiatedIndex: CCE on casting NumericField to Field >

[jira] Resolved: (LUCENE-1954) InitiatedIndex: CCE on casting NumericField to Field

2009-10-28 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler resolved LUCENE-1954. --- Resolution: Fixed Committed revision: 830775 (how can I create a fix version of 2.9.2?) >

RE: LUCENE-1954 and 2.9.1

2009-10-28 Thread Uwe Schindler
> Yeah 2.9.1 is already well on its way to releasing; we could back-port > this for a possible 2.9.2? No need to backport, the patch is for 2.9 branch. I'll commit. > I'll include the drop-in-ability in the release note for 2.9.1; don't > yet have a draft but I'll make one real soon now! > > Mik

[jira] Commented: (LUCENE-1954) InitiatedIndex: CCE on casting NumericField to Field

2009-10-28 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771132#action_12771132 ] Uwe Schindler commented on LUCENE-1954: --- It is to late for 2.9.1, but I apply this p

[jira] Assigned: (LUCENE-1954) InitiatedIndex: CCE on casting NumericField to Field

2009-10-28 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1954?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Uwe Schindler reassigned LUCENE-1954: - Assignee: Uwe Schindler > InitiatedIndex: CCE on casting NumericField to Field > ---

[jira] Updated: (LUCENE-2013) QueryScorer and SpanRegexQuery are incompatible.

2009-10-28 Thread Benjamin Keil (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Keil updated LUCENE-2013: -- Description: Since the resolution of #LUCENE-1685, users are not supposed to rewrite their qu

Re: LUCENE-1954 and 2.9.1

2009-10-28 Thread Michael McCandless
Yeah 2.9.1 is already well on its way to releasing; we could back-port this for a possible 2.9.2? I'll include the drop-in-ability in the release note for 2.9.1; don't yet have a draft but I'll make one real soon now! Mike On Wed, Oct 28, 2009 at 4:15 PM, Uwe Schindler wrote: > Yes, this was al

[jira] Updated: (LUCENE-2013) QueryScorer and SpanRegexQuery are incompatible.

2009-10-28 Thread Benjamin Keil (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Keil updated LUCENE-2013: -- Attachment: lucene-2013-2009-10-28-2135.patch This patch does a better job of collecting field

[jira] Updated: (LUCENE-2013) QueryScorer and SpanRegexQuery are incompatible.

2009-10-28 Thread Benjamin Keil (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2013?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Benjamin Keil updated LUCENE-2013: -- Attachment: lucene-2013-2009-10-28.patch Patch for LUCENE-2013 > QueryScorer and SpanRegexQue

[jira] Created: (LUCENE-2013) QueryScorer and SpanRegexQuery are incompatible.

2009-10-28 Thread Benjamin Keil (JIRA)
QueryScorer and SpanRegexQuery are incompatible. Key: LUCENE-2013 URL: https://issues.apache.org/jira/browse/LUCENE-2013 Project: Lucene - Java Issue Type: Bug Components: contrib/hi

[jira] Commented: (LUCENE-2005) Add LuSql project to "Apache Lucene - Contributions" wiki page

2009-10-28 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771093#action_12771093 ] Robert Muir commented on LUCENE-2005: - Yonik, definitely... easier than forrest and mo

RE: LUCENE-1954 and 2.9.1

2009-10-28 Thread Uwe Schindler
Yes, this was already fixed in trunk (by adding generics, where the return value is generified to Fieldable). For 2.9.1 it is too late, I think? Mike? Mike: Do you have already a release note formulated? The main information should be the bug fixes, but also that only 2.9.1 will be binary compatib

[jira] Commented: (LUCENE-2005) Add LuSql project to "Apache Lucene - Contributions" wiki page

2009-10-28 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771089#action_12771089 ] Yonik Seeley commented on LUCENE-2005: -- I think the page should just be turned into a

Re: Lucene as projects in Eclipse

2009-10-28 Thread DM Smith
On 10/28/2009 01:57 PM, Mark Miller wrote: Hmm ... well perhaps it takes more work if you want them each as a separate project? I just make it one project. I check out trunk with subclipse, using new Java project. The I go to the project properties and add java/test for core as source dirs (afte

LUCENE-1954 and 2.9.1

2009-10-28 Thread Bernd Fondermann
Hi, Probably I'm too late to the party pointing out that LUCENE-1954 is especially suited to be applied to the 2.9.x line. The patch is obsolete for 3.x/TRUNK. Bernd - To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache

[jira] Updated: (LUCENE-2005) Add LuSql project to "Apache Lucene - Contributions" wiki page

2009-10-28 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-2005: Attachment: LUCENE-2005.patch patch to add a link to LuSql to the contributions page. > Add LuSql

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771060#action_12771060 ] Michael McCandless commented on LUCENE-1997: {quote} This reminds me: Mike, y

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771054#action_12771054 ] Yonik Seeley commented on LUCENE-1997: -- bq. What kind of comparator can't pre-create

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Jake Mannix (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771041#action_12771041 ] Jake Mannix commented on LUCENE-1997: - Can you tell me more about this? What kind of

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771036#action_12771036 ] Yonik Seeley commented on LUCENE-1997: -- bq. But part of the point is that you don't h

Re: Lucene as projects in Eclipse

2009-10-28 Thread Robert Muir
Also DM, if you do it this way as one project with subclipse, you have the entire lucene checkout from svn in your eclipse workspace folder. so you can do things like run ant, svn commands, edit things with vi, whatever, and then use 'refresh' in eclipse so it sees the changes. i like eclipse but

Re: Lucene as projects in Eclipse

2009-10-28 Thread Mark Miller
Also, on a side note, I really like using the hierarchical package presentation as opposed to flat ;) Mark Miller wrote: > Hmm ... well perhaps it takes more work if you want them each as a > separate project? I just make it one project. > > I check out trunk with subclipse, using new Java project

Re: Lucene as projects in Eclipse

2009-10-28 Thread Mark Miller
Hmm ... well perhaps it takes more work if you want them each as a separate project? I just make it one project. I check out trunk with subclipse, using new Java project. The I go to the project properties and add java/test for core as source dirs (after removing the default one eclipse picks) - t

[jira] Resolved: (LUCENE-1904) move wordnet based synonym code out of contrib/memory and into contrib/wordnet (or somewhere else)

2009-10-28 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir resolved LUCENE-1904. - Resolution: Fixed Committed revision 830699. > move wordnet based synonym code out of contrib/m

Re: Lucene as projects in Eclipse

2009-10-28 Thread Robert Muir
DM, I create one project (new project, checkout projects from SVN, and let it set it as a java project). I then set the source folders like you mentioned below. I add lib/junit*whatever.jar to library classpath, and set UTF-8 default encoding for the project. and set the formatter to the lucene st

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Jake Mannix (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771017#action_12771017 ] Jake Mannix commented on LUCENE-1997: - But part of the point is that you don't have to

Re: Lucene as projects in Eclipse

2009-10-28 Thread DM Smith
On 10/28/2009 01:03 PM, Mark Miller wrote: DM Smith wrote: Is there any guidance on how to set up Lucene for development within Eclipse. Perhaps a wiki page or an old email thread? I looked but didn't find one. I've done it manually twice now and it was time-consuming and ultimately I did it

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771008#action_12771008 ] Yonik Seeley commented on LUCENE-1997: -- The more I think about it though, the more I'

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Jake Mannix (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771005#action_12771005 ] Jake Mannix commented on LUCENE-1997: - That should speed things up, but that's way sub

[jira] Updated: (LUCENE-1904) move wordnet based synonym code out of contrib/memory and into contrib/wordnet (or somewhere else)

2009-10-28 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1904?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir updated LUCENE-1904: Attachment: LUCENE-1904.patch new patch, with some updated package javadocs describing the two wor

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770996#action_12770996 ] Yonik Seeley commented on LUCENE-1997: -- If we do go with a multi-queue approach (anyw

Re: Lucene as projects in Eclipse

2009-10-28 Thread Mark Miller
DM Smith wrote: > Is there any guidance on how to set up Lucene for development within > Eclipse. > Perhaps a wiki page or an old email thread? I looked but didn't find one. > I've done it manually twice now and it was time-consuming and > ultimately I did it differently each time, not liking any w

Lucene as projects in Eclipse

2009-10-28 Thread DM Smith
Is there any guidance on how to set up Lucene for development within Eclipse. Perhaps a wiki page or an old email thread? I looked but didn't find one. I've done it manually twice now and it was time-consuming and ultimately I did it differently each time, not liking any way I have done it. Or

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770981#action_12770981 ] Yonik Seeley commented on LUCENE-1997: -- Linux odin 2.6.28-16-generic #55-Ubuntu SMP T

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770978#action_12770978 ] Yonik Seeley commented on LUCENE-1997: -- So if we're considering new comparator APIs,

[jira] Commented: (LUCENE-2012) Add @Override annotations

2009-10-28 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770975#action_12770975 ] Uwe Schindler commented on LUCENE-2012: --- Committed trunk changes in revision: 830661

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770956#action_12770956 ] Michael McCandless commented on LUCENE-1997: bq. how else can one explain mult

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770949#action_12770949 ] Mark Miller commented on LUCENE-1997: - bq. Actually that's my bad - I divide the numbe

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770948#action_12770948 ] Yonik Seeley commented on LUCENE-1997: -- I personally think this is a ways from being

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Jake Mannix (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770945#action_12770945 ] Jake Mannix commented on LUCENE-1997: - bq. search segment 2 into queue B (with possibl

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770943#action_12770943 ] Michael McCandless commented on LUCENE-1997: bq. I think thats just a limitati

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770942#action_12770942 ] Uwe Schindler commented on LUCENE-1997: --- Good catch! bq. search segment 2 into queu

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770940#action_12770940 ] Yonik Seeley commented on LUCENE-1997: -- One thing that bothers me about multiPQ is th

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770931#action_12770931 ] Mark Miller commented on LUCENE-1997: - I think thats just a limitation of the parallel

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770919#action_12770919 ] Yonik Seeley commented on LUCENE-1997: -- When I tried changing 500 to 499 I go

RE: Thread.interrupt()

2009-10-28 Thread Uwe Schindler
In this case (unchecked ex), we could have done that in 2.9, too :-) I would prefer IOException so normal handlers would catch it and stop indexing with a standard IO error (it is in fact an IOError, because IndexWriter is not able to complete the merge). If somebody ignores a IOException, it's hi

[jira] Commented: (LUCENE-2010) Remove segments with all documents deleted in commit/flush/close of IndexWriter instead of waiting until a merge occurs.

2009-10-28 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770917#action_12770917 ] Michael McCandless commented on LUCENE-2010: Note: IndexReader must also do th

Re: Thread.interrupt()

2009-10-28 Thread Michael McCandless
OK, I agree we shouldn't burden people with another checked exception. But we should differentiate it, so our own exception, subclassing either RuntimeException or IOException sounds good. I think I'd prefer subclassing RuntimeException so that existing handlers do not in fact suppress it. If yo

RE: Thread.interrupt()

2009-10-28 Thread Uwe Schindler
I have seen this yesterday, too (when coming around the assert Thread.holdsLock()), but I would not do that. How about defining a subclass of RuntimeException like InterruptedRuntimeException, so it does not need to be declared, but one could still catch it. Normally an interrupt inside Lucene wou

Re: Thread.interrupt()

2009-10-28 Thread Yonik Seeley
On Wed, Oct 28, 2009 at 7:53 AM, Michael McCandless wrote: > As a followon to LUCENE-1573, we had stated that in 3.0 instead of > throwing RuntimeException when a Thread inside Lucene is interrupted, > we would throw InterruptedException. > > Do we want to do this?  Technically I think it's the ri

Re: [VOTE] Release Apache Lucene Java 2.9.1, take 2

2009-10-28 Thread Robert Muir
+1 On Mon, Oct 26, 2009 at 2:43 PM, Michael McCandless < luc...@mikemccandless.com> wrote: > OK, I've built new release artifacts (incorporating Uwes feedback) > from svn rev 829889 (on the 2.9 branch), here: > > > http://people.apache.org/~mikemccand/staging-area/rc2_lucene2.9.1/

Thread.interrupt()

2009-10-28 Thread Michael McCandless
As a followon to LUCENE-1573, we had stated that in 3.0 instead of throwing RuntimeException when a Thread inside Lucene is interrupted, we would throw InterruptedException. Do we want to do this? Technically I think it's the right thing to do, but, I started to implement it and found that it bas

[jira] Commented: (LUCENE-2012) Add @Override annotations

2009-10-28 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770882#action_12770882 ] Uwe Schindler commented on LUCENE-2012: --- If nobody objects, I will commit during the

[jira] Commented: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770878#action_12770878 ] Michael McCandless commented on LUCENE-1997: OK results using last patch: JAV

[jira] Updated: (LUCENE-1997) Explore performance of multi-PQ vs single-PQ sorting API

2009-10-28 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1997: --- Attachment: LUCENE-1997.patch Yet another patch. This one incorporates thread safet

[jira] Resolved: (LUCENE-1994) EnwikiConentSource does not work with parallel tasks

2009-10-28 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless resolved LUCENE-1994. Resolution: Fixed Thanks Shai & Mark! > EnwikiConentSource does not work with par

[jira] Commented: (LUCENE-1994) EnwikiConentSource does not work with parallel tasks

2009-10-28 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770861#action_12770861 ] Michael McCandless commented on LUCENE-1994: bq. Also, getDocState() now passe

[jira] Commented: (LUCENE-1994) EnwikiConentSource does not work with parallel tasks

2009-10-28 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770854#action_12770854 ] Shai Erera commented on LUCENE-1994: bq. Shouldn't Document also be per-thread Sorry,

[jira] Commented: (LUCENE-1994) EnwikiConentSource does not work with parallel tasks

2009-10-28 Thread Shai Erera (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770852#action_12770852 ] Shai Erera commented on LUCENE-1994: Mike, reuseFields is now used only in this line:

Re: svn commit: r830456 - /lucene/java/trunk/src/java/org/apache/lucene/analysis/standard/StandardAnalyzer.java

2009-10-28 Thread Michael McCandless
Thanks Uwe! Mike On Wed, Oct 28, 2009 at 4:01 AM, wrote: > Author: uschindler > Date: Wed Oct 28 08:01:55 2009 > New Revision: 830456 > > URL: http://svn.apache.org/viewvc?rev=830456&view=rev > Log: > The variable was not used but initialized. This was caused by merge from 2.9, > fixed to use

[jira] Updated: (LUCENE-1994) EnwikiConentSource does not work with parallel tasks

2009-10-28 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1994: --- Attachment: LUCENE-1994.patch Attached patch, making EnwikiContentSource.getNextDocD

[jira] Commented: (LUCENE-2012) Add @Override annotations

2009-10-28 Thread Earwin Burrfoot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12770812#action_12770812 ] Earwin Burrfoot commented on LUCENE-2012: - That's why you need @override in first