List Info

Thread: setMaxBufferedDocs() et al in IndexWriter




setMaxBufferedDocs() et al in IndexWriter
user name
2006-03-08 01:01:00
Would it be possible to add support for the get/set
MaxBufferedDocs,  
MaxMergeDocs and MergeFactor functions to IndexWriter? They
are  
replacements for the deprecated minMergeDocs, maxMergeDocs
and  
mergeFactor values: <http://lu
cene.apache.org/java/docs/api/org/ 
apache/lucene/index/IndexWriter.html#setMaxBufferedDocs(int)
>

alf.
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
setMaxBufferedDocs() et al in IndexWriter
user name
2006-03-08 01:38:27
On Tue, 7 Mar 2006, Alf Eaton wrote:

> Would it be possible to add support for the get/set
MaxBufferedDocs, 
> MaxMergeDocs and MergeFactor functions to IndexWriter?
They are replacements 
> for the deprecated minMergeDocs, maxMergeDocs and
mergeFactor values: 
> <http://lucene.
apache.org/java/docs/api/org/apache/lucene/index/IndexWriter
.html#setMaxBufferedDocs(int)>

Sure thing.
I just added them into PyLucene.i on the trunk (not yet
checked in).
If you would those right away and are building PyLucene
yourself, add these:

                     void setMaxBufferedDocs(jint);
                     jint getMaxBufferedDocs();
                     void setMergeFactor(jint);
                     jint getMergeFactor();

into the "class IndexWriter" section in
PyLucene.i where its other methods are 
declared.

Andi..
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
setMaxBufferedDocs() et al in IndexWriter
user name
2006-03-11 03:32:08
On 07 Mar 2006, at 20:38, Andi Vajda wrote:

>
> On Tue, 7 Mar 2006, Alf Eaton wrote:
>
>> Would it be possible to add support for the get/set
 
>> MaxBufferedDocs, MaxMergeDocs and MergeFactor
functions to  
>> IndexWriter? They are replacements for the
deprecated  
>> minMergeDocs, maxMergeDocs and mergeFactor values:
<http:// 
>>
lucene.apache.org/java/docs/api/org/apache/lucene/index/ 
>> IndexWriter.html#setMaxBufferedDocs(int)>
>
> Sure thing.
> I just added them into PyLucene.i on the trunk (not yet
checked in).
> If you would those right away and are building PyLucene
yourself,  
> add these:
>
>                     void setMaxBufferedDocs(jint);
>                     jint getMaxBufferedDocs();
>                     void setMergeFactor(jint);
>                     jint getMergeFactor();
>
> into the "class IndexWriter" section in
PyLucene.i where its other  
> methods are declared.

Thanks. Hopefully it'll be a bit easier to remember what  
MaxBufferedDocs does.

alf.
_______________________________________________
pylucene-dev mailing list
pylucene-devosafoundation.org
http://lists.osafoundation.org/mailman/listinfo/pylu
cene-dev
[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )