lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Serba (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1352) DIH: MultiThreaded
Date Fri, 16 Jul 2010 16:50:51 GMT

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

Alexey Serba commented on SOLR-1352:
------------------------------------

I've tested this feature in trunk on a quite large data set ( freebase WEX wikipedia extract
loaded into Oracle database ). It seems to be working ok. 

The only thing I noticed is that multithreaded implementation produce too verbose logging.
Could you please change log level to DEBUG for the following events:

2010-07-16 20:35:50,199 INFO  dataimport.ThreadedEntityProcessorWrapper  - arow : {id=12345,
body=blahblah, title=Title}
2010-07-16 20:35:50,201 INFO  dataimport.DocBuilder  - a row on docrootSolrInputDocument[{id=id(1.0)={12345},
body=body(1.0)={blahblah}, title=title(1.0)={Title}}]


> DIH: MultiThreaded
> ------------------
>
>                 Key: SOLR-1352
>                 URL: https://issues.apache.org/jira/browse/SOLR-1352
>             Project: Solr
>          Issue Type: Improvement
>          Components: contrib - DataImportHandler
>            Reporter: Noble Paul
>            Assignee: Noble Paul
>             Fix For: 1.5
>
>         Attachments: SOLR-1352.patch, SOLR-1352.patch, SOLR-1352.patch
>
>
> It has been a long pending request to make DIH multithreaded. Now that we have implemented
most of the features , the next best thing we can aim for is performance. DIH should be able
to take advantage of multiple cores in a box .I expect the configuration to be as follows
> {code:xml}
> <entity name="foo" threads="4">
> <!--more stuff goes here-->
> </entity>
> {code}
> at the entity where the threads is specified it should fork into multiple threads. If
the threads<2 it executes w/o forking. In debug mode it automatically becomes singlethreaded.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message