[
https://issues.apache.org/jira/browse/SOLR-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559308#action_12559308
]
patrick o'leary commented on SOLR-457:
--------------------------------------
Not too concerned about which package it's in.
There is a need to clarify the multi threaded statement. CommonsHttpSolrServer
is thread-safe using MultiThreadedHttpConnectionManager which provides pooling.
However you still have to implement a thread or runnable class to use it in a
threaded manor, otherwise the connections are serial. That's what this
implementation does.
Could be used in anything that requires a request to multiple solr instances,
not just distributed search.
e.g.
- add / update / delete documents to multiple solr severs
e.g real time indexing and not using a master - slave implementation
- If federate search ever gets kicked off, it has possible uses there.
- large scale monitoring, if you have 100 boxes, it will save you considerable
time doing them in a threaded
fashion than serially.
> A multi threaded implementation for solrJ
> -----------------------------------------
>
> Key: SOLR-457
> URL: https://issues.apache.org/jira/browse/SOLR-457
> Project: Solr
> Issue Type: New Feature
> Components: clients - java
> Affects Versions: 1.3
> Reporter: patrick o'leary
> Priority: Minor
> Fix For: 1.3
>
> Attachments: multithreaded-solrj.patch
>
>
> Provide a multi threaded implementation of CommonsHttpSolrServer
> For usage with distributed searching in solr-303
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.