webshark27,

When you get your articles indexed, it would be really great if you
can share your experience with searching against it. I would love to
know how well the Zend implementation of Lucene handles the load.

On 5/8/07, webshark27 <[EMAIL PROTECTED]> wrote:

Hi Chris,

Thanks for the quick response.

Doesn't the "$doc = new Zend_Search_Lucene_Document();" just overwrite the
old one?

Also I think the $index->addDocument($doc) is filling up the memory fast, I
don't know exactly how to play with the MergeFactor, MaxMergeDocs and
MaxBufferedDocs effects this issue.

I am running 10,000 each time and then commit changes - load the script
again and running ....


Chris Blaise wrote:
>
>
>       It's been a few months since I worked with this but I had some weird
> errors that I'm not sure if I figured out was due to running out of memory
> or it if it was due to some weird corruption I was seeing that caused the
> script to exit.
>
>       The fix to my problem was to free memory.  In your case try setting
> $doc to null when you're finished with it in the loop, right after the
> $index->addDocument($doc).
>
>  Chris
>
>

--
View this message in context: 
http://www.nabble.com/Zend_Search_Lucene---Best-Practices-for-Indexing-100k%2B-articles-tf3712199s16154.html#a10385215
Sent from the Zend Framework mailing list archive at Nabble.com.




--
Craig Slusher
[EMAIL PROTECTED]

Reply via email to