You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by alexander sulz <a....@digiconcept.net> on 2011/07/11 17:21:11 UTC

Average PDF index time

Hi all,

Are there some kind of average indexing times or PDF's in relation to 
its size?
I have here a 10MB PDF (50 pages) which takes about 30 seconds to index!
Is that normal?

greetings
  alex

Re: Average PDF index time

Posted by Michael Kuhlmann <so...@kuli.org>.
Am 12.07.2011 12:03, schrieb alexander sulz:
> Still, why the PHP stops working correctly is beyond me, but it seems to
> be fixed now.

You should mind the max_execution_time parameter in you php.ini.

Greetings,
Kuli

Re: Average PDF index time

Posted by alexander sulz <a....@digiconcept.net>.
Am 12.07.2011 10:08, schrieb alexander sulz:
>
>>> Hi all,
>>>
>>> Are there some kind of average indexing times or PDF's in relation to
>>> its size?
>>> I have here a 10MB PDF (50 pages) which takes about 30 seconds to 
>>> index!
>>> Is that normal?
>> Depends on you hardware. PDF parsing is a lot more tedious than XML and
>> besides parsing it's also analyzed and stored and maybe even 
>> committed. Is it
>> a problem or do you have many thousands of files with this size?

> Luckily I don't there just about 500 of them all in all and about 100 
> of them are bigger,
> 10 of them even problematicly big so that my php script stops working 
> but thats another problem.
> Unfortunatly I don't have a clue about the server spec's or know 
> anyone who does.
>>> greetings
>>>    alex

So I figured out I had my "bleeding-edge" Version of Solr running.
It was 3.3 with the latest tika pulled from SVN (tika1.0-SNAPSHOT).
I reverted back to the stable 0.9 release and now I get 2 seconds index 
time for the same PDF!
Still, why the PHP stops working correctly is beyond me, but it seems to 
be fixed now.

regards
  alex


Re: Average PDF index time

Posted by alexander sulz <a....@digiconcept.net>.
>> Hi all,
>>
>> Are there some kind of average indexing times or PDF's in relation to
>> its size?
>> I have here a 10MB PDF (50 pages) which takes about 30 seconds to index!
>> Is that normal?
> Depends on you hardware. PDF parsing is a lot more tedious than XML and
> besides parsing it's also analyzed and stored and maybe even committed. Is it
> a problem or do you have many thousands of files with this size?
Luckily I don't there just about 500 of them all in all and about 100 of 
them are bigger,
10 of them even problematicly big so that my php script stops working 
but thats another problem.
Unfortunatly I don't have a clue about the server spec's or know anyone 
who does.
>> greetings
>>    alex


Re: Average PDF index time

Posted by Markus Jelsma <ma...@openindex.io>.
> Hi all,
> 
> Are there some kind of average indexing times or PDF's in relation to
> its size?
> I have here a 10MB PDF (50 pages) which takes about 30 seconds to index!
> Is that normal?

Depends on you hardware. PDF parsing is a lot more tedious than XML and 
besides parsing it's also analyzed and stored and maybe even committed. Is it 
a problem or do you have many thousands of files with this size?

> 
> greetings
>   alex