lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris A. Mattmann (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1544) Python script to post multiple files to solr using a queue and worker threads
Date Fri, 06 Nov 2009 18:11:32 GMT

    [ https://issues.apache.org/jira/browse/SOLR-1544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12774345#action_12774345
] 

Chris A. Mattmann commented on SOLR-1544:
-----------------------------------------

Hey Dennis -- this sounds great!! I had the same problem with post.sh and using it on 10000s
of files that i wanted to post. You can get around it with xargs, but this looks like a more
complete and robust solution. +1!

Cheers,
Chris


> Python script to post multiple files to solr using a queue and worker threads
> -----------------------------------------------------------------------------
>
>                 Key: SOLR-1544
>                 URL: https://issues.apache.org/jira/browse/SOLR-1544
>             Project: Solr
>          Issue Type: Improvement
>          Components: update
>    Affects Versions: 1.5
>         Environment: Python 2.6 and above
>            Reporter: Dennis Kubes
>            Priority: Minor
>             Fix For: 1.5
>
>         Attachments: postqueue.py
>
>
> The is a simple python script that uses a blocking queue and multiple worker threads
to post updates (files) to solr.  Works when calling post.sh won't because of too many files
or when
> you want to throttle the speed at which you are updating solr.  Tested with runs as high
as 30K files.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message