Re: Let's release Lucene 2.3 soon?

2007-12-06 Thread Paul Elschot
On Thursday 06 December 2007 03:49:17 Michael Busch wrote: > Hi all, > ... > > I'd like to get LUCENE-584 in, but I have to read through the recent > comments to figure out how much work is left. It should not block 2.3 if > all other issues are resolved. I'd prefer LUCENE-584 to be added to the

[jira] Assigned: (LUCENE-1064) Make TopDocs constructor public

2007-12-06 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Busch reassigned LUCENE-1064: - Assignee: Michael Busch > Make TopDocs constructor public >

[jira] Resolved: (LUCENE-1064) Make TopDocs constructor public

2007-12-06 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Busch resolved LUCENE-1064. --- Resolution: Fixed Committed. Thanks, Shai! > Make TopDocs constructor public >

Re: [jira] Resolved: (LUCENE-1064) Make TopDocs constructor public

2007-12-06 Thread Shai Erera
Thanks a lot ! On Dec 6, 2007 11:08 AM, Michael Busch (JIRA) <[EMAIL PROTECTED]> wrote: > > [ > https://issues.apache.org/jira/browse/LUCENE-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel] > > Michael Busch resolved LUCENE-1064. > --- >

Comparable ScoreDoc

2007-12-06 Thread Shai Erera
Hi Today ScoreDoc is not Comparable. That prevents applications that would like to use it in Comparable data structures (such as priority queues), but still use other Lucene's objects, like TopDocs, unless they create a ComparableScoreDoc which extends ScoreDoc and implements Comparable. To make S

Re: Comparable ScoreDoc

2007-12-06 Thread Michael Busch
Hi Shai, I think you don't have to subclass ScoreDoc. Can't you simply implement a Comparator and pass it in the data structure you need? E. g.: Arrays.sort(scoreDocs, new Comparator() { public int compare(Object o1, Object o2) { ScoreDoc d1 = (ScoreDoc) o1; ScoreDoc d2 = (ScoreDoc) o2;

Re: Comparable ScoreDoc

2007-12-06 Thread Shai Erera
That is indeed one alternative. I think however that Comparable objects are cleaner. It is evident by just looking at the code how they are compared. Otherwise (with the Comparator approach), you need to pair objects with comparators, and it's not always clear which comparator to use with each obje

[jira] Commented: (LUCENE-1019) CustomScoreQuery should support multiple ValueSourceQueries

2007-12-06 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549007 ] Grant Ingersoll commented on LUCENE-1019: - Somewhat related, but any thoughts on some of the newer functiona

[jira] Assigned: (LUCENE-1068) Invalid behavior of StandardTokenizerImpl

2007-12-06 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Grant Ingersoll reassigned LUCENE-1068: --- Assignee: Grant Ingersoll > Invalid behavior of StandardTokenizerImpl >

[jira] Commented: (LUCENE-1019) CustomScoreQuery should support multiple ValueSourceQueries

2007-12-06 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549016 ] Doron Cohen commented on LUCENE-1019: - When working on this I hoped that Solr would move to use it, but by SOLR-

Re: Let's release Lucene 2.3 soon?

2007-12-06 Thread Michael McCandless
"Michael Busch" <[EMAIL PROTECTED]> wrote: > - LUCENE-1044: Behavior on hard power shutdown (Mike) I'm actively working on this one; it's somewhat tricky. I hope to get an initial patch attached soon, but it will be a rough first start. But I think once we add review/iterations/holidays, it's li

[jira] Commented: (LUCENE-1052) Add an "termInfosIndexDivisor" to IndexReader

2007-12-06 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549019 ] Michael McCandless commented on LUCENE-1052: I think for 2.3 we should go with the approach as currently

[jira] Updated: (LUCENE-1052) Add an "termInfosIndexDivisor" to IndexReader

2007-12-06 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1052: --- Fix Version/s: (was: 2.3) 2.4 > Add an "termInfosIndexDivisor

Re: losing mails from user list?

2007-12-06 Thread Doron Cohen
Just to let you know - the list mailing system is OKAY, problem was caused by my mail client. Doron Doron Cohen/Haifa/[EMAIL PROTECTED] wrote on 04/12/2007 09:07:52: > > Hi, do others also lose emails from the user list? > > Not receiving back a response I sent to user list > I checked the on-li

[jira] Commented: (LUCENE-167) [PATCH] QueryParser not handling queries containing AND and OR

2007-12-06 Thread Christoph Bammann (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549042 ] Christoph Bammann commented on LUCENE-167: -- Hi, I would like to know if this new Parser is integrated or eve

[jira] Commented: (LUCENE-167) [PATCH] QueryParser not handling queries containing AND and OR

2007-12-06 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549046 ] Erik Hatcher commented on LUCENE-167: - the PrecedenceQueryParser is in the contrib/miscellaneous codebase (in Luc

[jira] Commented: (LUCENE-1058) New Analyzer for buffering tokens

2007-12-06 Thread Grant Ingersoll (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549059 ] Grant Ingersoll commented on LUCENE-1058: - I also added, in SinkTokenizer, to override the close() method on

SpellChecker

2007-12-06 Thread sujithq
Hi, Is there any reason why property searcher is never closed? This is code for the constructor /** * Use the given directory as a spell checker index. The directory * is created if it doesn't exist yet. * * @param spellIndex * @throws IOException */ public SpellChecker(Di

[jira] Assigned: (LUCENE-989) Statistics from ValueSourceQuery

2007-12-06 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-989?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doron Cohen reassigned LUCENE-989: -- Assignee: Doron Cohen > Statistics from ValueSourceQuery > - >

Re: Comparable ScoreDoc

2007-12-06 Thread Michael Busch
Shai Erera wrote: > > Comparators however have an advantage - in that specific case I could create > two Comparators: (1) compares by the score and then by doc (2) compares by That's why I hesitate to add the Comparable interface to ScoreDoc: Different people might want different implementations

Re: Let's release Lucene 2.3 soon?

2007-12-06 Thread Michael McCandless
"Michael Busch" <[EMAIL PROTECTED]> wrote: > - LUCENE-1044: Behavior on hard power shutdown (Mike) OK, on further thinking here... I think we should not hold up 2.3 for this issue. It's a fairly large change, so I'd prefer to commit it just after a release so it has some time to live on the tru

[jira] Updated: (LUCENE-1044) Behavior on hard power shutdown

2007-12-06 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1044: --- Fix Version/s: (was: 2.3) 2.4 > Behavior on hard power shutdo

[jira] Commented: (LUCENE-1044) Behavior on hard power shutdown

2007-12-06 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549104 ] Michael McCandless commented on LUCENE-1044: I've moved this issue to 2.4. I think it's too risky to ru

[jira] Updated: (LUCENE-584) Decouple Filter from BitSet

2007-12-06 Thread Michael Busch (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Busch updated LUCENE-584: - Fix Version/s: 2.4 > Decouple Filter from BitSet > --- > >

[jira] Commented: (LUCENE-1082) IndexReader.lastModified - always return null

2007-12-06 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549107 ] Michael McCandless commented on LUCENE-1082: Could you provide more details here? That method returns a

Re: Let's release Lucene 2.3 soon?

2007-12-06 Thread Michael Busch
Michael McCandless wrote: > It's a fairly large change, so I'd prefer to commit it just after a > release so it has some time to live on the trunk first (ie the same > motivation as LUCENE-584). And, this is a longstanding/pre-existing > issue. I moved LUCENE-584 to 2.4 as well. > > Maybe we ca

Re: Let's release Lucene 2.3 soon?

2007-12-06 Thread Karl Wettin
6 dec 2007 kl. 05.10 skrev Michael Busch: 2.4 What happened to this plan: ? - To unsubscribe, e-mail: [EMAIL PROTECTED

[jira] Commented: (LUCENE-1082) IndexReader.lastModified - always return null

2007-12-06 Thread Alan Boo (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549116 ] Alan Boo commented on LUCENE-1082: -- by the way. here is the stack trace. java.lang.NullPointerException at

[jira] Commented: (LUCENE-1082) IndexReader.lastModified - always return null

2007-12-06 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549119 ] Michael McCandless commented on LUCENE-1082: OK I see this issue. I'll fix it. Thanks for reporting Al

[jira] Assigned: (LUCENE-1082) IndexReader.lastModified - always return null

2007-12-06 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless reassigned LUCENE-1082: -- Assignee: Michael McCandless > IndexReader.lastModified - always return null >

[jira] Updated: (LUCENE-1082) IndexReader.lastModified - throws NPE

2007-12-06 Thread Alan Boo (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Boo updated LUCENE-1082: - Description: IndexReader.lastModified(String dir) or its variants always return NPE on 2.3, perhaps some

Re: Let's release Lucene 2.3 soon?

2007-12-06 Thread Michael Busch
Karl Wettin wrote: > 6 dec 2007 kl. 19.06 skrev Karl Wettin: >> 6 dec 2007 kl. 05.10 skrev Michael Busch: >> >>> 2.4 >> What happened to this plan: > > Actually, this link is better: > > > > I think w

Re: Let's release Lucene 2.3 soon?

2007-12-06 Thread Karl Wettin
6 dec 2007 kl. 19.06 skrev Karl Wettin: 6 dec 2007 kl. 05.10 skrev Michael Busch: 2.4 What happened to this plan: Actually, this link is better: -- karl ---

[jira] Commented: (LUCENE-1082) IndexReader.lastModified - always return null

2007-12-06 Thread Alan Boo (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549111 ] Alan Boo commented on LUCENE-1082: -- sorry, i mean i get a npe when i called IndexReader.lastModified, it's was wor

[jira] Updated: (LUCENE-1082) IndexReader.lastModified - throws NPE

2007-12-06 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1082?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael McCandless updated LUCENE-1082: --- Attachment: LUCENE-1082.patch Attached patch. I will commit soon. This issue was c

[jira] Created: (LUCENE-1083) JDiff report of changes between different versions of Lucene

2007-12-06 Thread Matt Doar (JIRA)
JDiff report of changes between different versions of Lucene Key: LUCENE-1083 URL: https://issues.apache.org/jira/browse/LUCENE-1083 Project: Lucene - Java Issue Type: Improvement

[jira] Updated: (LUCENE-1083) JDiff report of changes between different versions of Lucene

2007-12-06 Thread Matt Doar (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Doar updated LUCENE-1083: -- Attachment: jdiff_lucene_210_220.zip jdiff_lucene_191_220.zip > JDiff report of change

[jira] Commented: (LUCENE-1044) Behavior on hard power shutdown

2007-12-06 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549203 ] Doron Cohen commented on LUCENE-1044: - {quote} Though ... I am also a bit concerned about opening files for writ

[jira] Commented: (LUCENE-1044) Behavior on hard power shutdown

2007-12-06 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549213 ] Michael McCandless commented on LUCENE-1044: {quote} I think this would work too? {code} FileInputStream

Re: [jira] Commented: (LUCENE-1044) Behavior on hard power shutdown

2007-12-06 Thread robert engels
But, if the JVM adheres to the Java specification (meaning it is valid), this is not possible. The Windows JVM calls Kernel32.FlushFileBuffers which also requires 'Write' permissions, but it seems to work On Dec 6, 2007, at 4:21 PM, Michael McCandless (JIRA) wrote: [ https://iss

[jira] Commented: (LUCENE-1044) Behavior on hard power shutdown

2007-12-06 Thread Doron Cohen (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549221 ] Doron Cohen commented on LUCENE-1044: - {quote} I think we're walking on thin ice if we do that... {quote} Oh, I

[jira] Commented: (LUCENE-1078) Cleanup some unused and unnecessary code

2007-12-06 Thread Nathan Beyer (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549295 ] Nathan Beyer commented on LUCENE-1078: -- Thanks for applying my patch. Sorry about the generated file; i missed