[Jakarta Lucene Wiki] New: PainlessIndexing

2004-07-20 Thread lucene-cvs
Date: 2004-07-20T14:39:16 Editor: JulienNioche <[EMAIL PROTECTED]> Wiki: Jakarta Lucene Wiki Page: PainlessIndexing URL: http://wiki.apache.org/jakarta-lucene/PainlessIndexing hint for indexing with lucene New Page: IndexWriter has a useful method called (at least temporarily)

[Jakarta Lucene Wiki] Updated: HowTo

2004-07-20 Thread lucene-cvs
Date: 2004-07-20T14:12:44 Editor: JulienNioche <[EMAIL PROTECTED]> Wiki: Jakarta Lucene Wiki Page: HowTo URL: http://wiki.apache.org/jakarta-lucene/HowTo no comment Change Log: -- @@ -17,7 +17,8 @@ ==

Re: VOTE: Change Token to public

2004-07-20 Thread Erik Hatcher
On Jul 20, 2004, at 3:47 PM, Doug Cutting wrote: Erik Hatcher wrote: I'm voting, based on discussions on lucene-user, to make Token public. +1 I think you mean to make Token non-final, in which case I'm +1 too. Oops, yes, I mean non-final. Probably we should also make the accessors non-final, mak

Re: Making a get method for SortField[] fields; in the Sort object

2004-07-20 Thread Doug Cutting
This sounds reasonable to me. Can you please send a diff, complete with javadoc, etc? Aviran wrote: I'm have my own Collector and I would like to use the Sort object within my collector, but SortField[] fields; is not accessible outside Lucene's package. Can you please consider making a public g

Re: VOTE: Change Token to public

2004-07-20 Thread Doug Cutting
Erik Hatcher wrote: I'm voting, based on discussions on lucene-user, to make Token public. +1 I think you mean to make Token non-final, in which case I'm +1 too. Probably we should also make the accessors non-final, make the fields private and add setters for some (or all) of the fields. This wi

Making a get method for SortField[] fields; in the Sort object

2004-07-20 Thread Aviran
I'm have my own Collector and I would like to use the Sort object within my collector, but SortField[] fields; is not accessible outside Lucene's package. Can you please consider making a public getFields() method in the Sort object so we can use it in our implementation? I know I can change the

Re: Deleting a document with an IndexWriter open

2004-07-20 Thread Dmitry Serebrennikov
Doug Cutting wrote: Then you need to ensure that you leave the index has no deletions, and optimize it if it has any, to remove them. This is probably most safely done as the first step, rather than the last. Good point. I didn't think about this. I'm not sure this method has many advantages ove

VOTE: Change Token to public

2004-07-20 Thread Erik Hatcher
I'm voting, based on discussions on lucene-user, to make Token public. +1 Any objections? Discussion? Erik - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: release & migration plan

2004-07-20 Thread Doug Cutting
For the purposes of this change, the DocumentWriter directory doesn't actually matter. A persistent index is only written by the segment merger, so that's the only place the indexInterval really needs to be specified. Doug Julien Nioche wrote: DocumentWriter is typically created with the ramDi

Re: Binary stored fields (was Re: suggestions for a student project)

2004-07-20 Thread Roy
Drew, Thanks for the pointer! I will test it out somtime this week. Roy On Tue, 20 Jul 2004 10:10:10 -0400, Drew Farris <[EMAIL PROTECTED]> wrote: > Hi Roy, > > The binary field feature has not been rolled into a release of Lucene, > but there is a patch available as an attachment to the bugzil

Re: Deleting a document with an IndexWriter open

2004-07-20 Thread Giulio Cesare Solaroli
So, I was not thinking that much different. :-] Giulio Cesare On Tue, 20 Jul 2004 14:37:11 +0200, Christoph Goller <[EMAIL PROTECTED]> wrote: > Giulio Cesare Solaroli wrote: > > Hi all, > > > > I would like to submit a "think different" approach to this problem > > for evaluation for you develope

Re: Binary stored fields (was Re: suggestions for a student project)

2004-07-20 Thread Drew Farris
Hi Roy, The binary field feature has not been rolled into a release of Lucene, but there is a patch available as an attachment to the bugzilla entry: http://issues.apache.org/bugzilla/show_bug.cgi?id=29370 The patch can be accessed directly here: http://issues.apache.org/bugzilla/showattachment.c

Re: Deleting a document with an IndexWriter open

2004-07-20 Thread Christoph Goller
Giulio Cesare Solaroli wrote: Hi all, I would like to submit a "think different" approach to this problem for evaluation for you developers. Would it be possible to just mark the relevant documents as "deleted" (instead of deleting them altogether) with an IndexWriter used for inserting new documen

Re: Deleting a document with an IndexWriter open

2004-07-20 Thread Giulio Cesare Solaroli
Hi all, I would like to submit a "think different" approach to this problem for evaluation for you developers. Would it be possible to just mark the relevant documents as "deleted" (instead of deleting them altogether) with an IndexWriter used for inserting new documents? "marking" a document as

Re: release & migration plan

2004-07-20 Thread Julien Nioche
DocumentWriter is typically created with the ramDirectory field of IndexWriter and not the actual directory field. So getDirectory() should return this ramDirectory in order to work, which is not very intuitive (one could expect it to return the real directory). One could change the visibility of r