[jira] Commented: (LUCENE-475) RAMDirectory(Directory dir, boolean closeDir) constructor uses memory inefficiently.

2005-12-01 Thread Alexey Panchenko (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-475?page=comments#action_12359122 ] Alexey Panchenko commented on LUCENE-475: - byte[] buf = new byte[READ_BUFFER_SIZE]; should be moved before the for-loop, so the single buffer can be used to load all t

Re: class org.apache.lucene.index.TermInfosTest

2005-12-01 Thread Erik Hatcher
On Dec 1, 2005, at 4:55 PM, Bernhard Messer wrote: just found a class "org.apache.lucene.index.TermInfosTest" within the src/test directory. It seems to be a relict from previous days. It doesn't run without a resource file "words.txt" and is no JUnit- Test. I would like to delete if there

Re: org.apache.lucene.index.store.FSDirectoryTest not runnning with "ant test"

2005-12-01 Thread Erik Hatcher
On Dec 1, 2005, at 5:03 PM, Bernhard Messer wrote: do you have any idea why "org.apache.lucene.index.store.FSDirectoryTest" is not running when "ant test" is called. As far as i understand the common-build.xml, all testcases where the classname starts or ends with "Test" should run. Bec

[jira] Commented: (LUCENE-475) RAMDirectory(Directory dir, boolean closeDir) constructor uses memory inefficiently.

2005-12-01 Thread Doug Cutting (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-475?page=comments#action_12359098 ] Doug Cutting commented on LUCENE-475: - Why not just use BufferedIndexOutput.BUFFER_SIZE, a constant declared elsewhere and already used for all RAMDirectory buffers? That

[jira] Commented: (LUCENE-475) RAMDirectory(Directory dir, boolean closeDir) constructor uses memory inefficiently.

2005-12-01 Thread Hoss Man (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-475?page=comments#action_12359097 ] Hoss Man commented on LUCENE-475: - Using different buffer sizes may not make a big difference in your performacne tests -- but that doesn't mean it won't mke a differnece for

org.apache.lucene.index.store.FSDirectoryTest not runnning with "ant test"

2005-12-01 Thread Bernhard Messer
Erik, do you have any idea why "org.apache.lucene.index.store.FSDirectoryTest" is not running when "ant test" is called. As far as i understand the common-build.xml, all testcases where the classname starts or ends with "Test" should run. thanks Bernhard --

class org.apache.lucene.index.TermInfosTest

2005-12-01 Thread Bernhard Messer
just found a class "org.apache.lucene.index.TermInfosTest" within the src/test directory. It seems to be a relict from previous days. It doesn't run without a resource file "words.txt" and is no JUnit-Test. I would like to delete if there is nobody raising it's hand to stop me. regards Bernhar

[jira] Closed: (LUCENE-288) [patch] better support gcj compilation

2005-12-01 Thread Erik Hatcher (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-288?page=all ] Erik Hatcher closed LUCENE-288: --- > [patch] better support gcj compilation > -- > > Key: LUCENE-288 > URL: http://issues.apache.org/jira/brow

[jira] Resolved: (LUCENE-288) [patch] better support gcj compilation

2005-12-01 Thread Erik Hatcher (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-288?page=all ] Erik Hatcher resolved LUCENE-288: - Resolution: Fixed Assign To: (was: Lucene Developers) applied with the recommended comments > [patch] better support gcj compilation >

[jira] Commented: (LUCENE-475) RAMDirectory(Directory dir, boolean closeDir) constructor uses memory inefficiently.

2005-12-01 Thread Bernhard Messer (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-475?page=comments#action_12359083 ] Bernhard Messer commented on LUCENE-475: I like the patch and find it very helpful if one tries to load larger indices into RAMDirectory. Hoss Man, why do you would

[jira] Commented: (LUCENE-475) RAMDirectory(Directory dir, boolean closeDir) constructor uses memory inefficiently.

2005-12-01 Thread Hoss Man (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-475?page=comments#action_12359068 ] Hoss Man commented on LUCENE-475: - I'm no expert on File I/O, so i don't know if this is/isn't a good change to make, but i deplore constants: If this patch is a good idea,

Re: open source YourKit licence

2005-12-01 Thread Yonik Seeley
I'll propose that to them. On 12/1/05, Doug Cutting <[EMAIL PROTECTED]> wrote: > Yonik Seeley wrote: > > a) do any other committers want a license, and > > Why not just include all committer names? > > > b) would we be willing to put their logo somewhere in exchange? > > Perhaps we should reserve

Re: open source YourKit licence

2005-12-01 Thread Doug Cutting
Yonik Seeley wrote: a) do any other committers want a license, and Why not just include all committer names? b) would we be willing to put their logo somewhere in exchange? Perhaps we should reserve that until we find that Lucene has been significantly improved by YourKit. Doug

[jira] Commented: (LUCENE-475) RAMDirectory(Directory dir, boolean closeDir) constructor uses memory inefficiently.

2005-12-01 Thread Volodymyr Bychkoviak (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-475?page=comments#action_12359036 ] Volodymyr Bychkoviak commented on LUCENE-475: - Oh, I didn't described my solution... Solution is simle: use 1k buffer to copy files from source index to ram files

[jira] Updated: (LUCENE-475) RAMDirectory(Directory dir, boolean closeDir) constructor uses memory inefficiently.

2005-12-01 Thread Volodymyr Bychkoviak (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-475?page=all ] Volodymyr Bychkoviak updated LUCENE-475: Attachment: RamDirectory.diff > RAMDirectory(Directory dir, boolean closeDir) constructor uses memory > inefficiently. >

[jira] Created: (LUCENE-475) RAMDirectory(Directory dir, boolean closeDir) constructor uses memory inefficiently.

2005-12-01 Thread Volodymyr Bychkoviak (JIRA)
RAMDirectory(Directory dir, boolean closeDir) constructor uses memory inefficiently. -- Key: LUCENE-475 URL: http://issues.apache.org/jira/browse/LUCENE-475 Project: Lucene - Java