Re: Lucene index corruption and recovery

2017-07-25 Thread sputul
Another sanity check. With deletion, only option would be to reindex those
documents. Could someone please let me know if I am missing anything or if I
am on track here. Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Lucene-index-corruption-and-recovery-tp4347439p4347528.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr 5.2+ using SSL and non-SSL ports

2017-07-03 Thread sputul
I have SSL enabled in Solr 5 but Zookeeper needs to be started with proper
url scheme. Does this imply Solr Cloud cannot use SSL and non-SSL at the
same time as Zookeeper itself need separate ports?

Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-5-2-using-SSL-and-non-SSL-ports-tp4312859p4343997.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: SolrServerException: Invalid use of BasicClientConnManager: connection still allocated.

2017-04-26 Thread sputul
Thank you for the big help!
-- Putul

On Wed, Apr 26, 2017 at 9:22 AM, Shawn Heisey-2 [via Lucene] <
ml+s472066n4331977...@n3.nabble.com> wrote:

> On 4/25/2017 1:40 PM, Putul S wrote:
> > I am using single instance CloudSolrClient using my HttpClinet.
> > Problem with using this httpClient is that, whenever I add more than
> > one document, LBHttpSolrClient complains about connection not
> > released. Everything works fine is I do not use my own HttpClient.
>
> Apparently the DefaultHttpClient constructor that you used creates a
> client with BasicClientConnManager internally.  This will completely
> break an application that tries to make simultaneous connections with
> multiple threads.  This is the description of BasicClientConnManager in
> its javadoc:
>
> "A connection manager for a single connection. This connection manager
> maintains only one active connection. Even though this class is fully
> thread-safe it ought to be used by one execution thread only, as only
> one thread a time can lease the connection at a time."
>
> Try creating the HttpClient object with its Builder instead.  Here's one
> example:
>
> RequestConfig rc = RequestConfig.custom().setConnectTimeout(5000)
>   .setSocketTimeout(30).build();
> HttpClient client = HttpClients.custom().setDefaultRequestConfig(rc)
>   .setMaxConnPerRoute(1024).setMaxConnTotal(4096)
>   .disableAutomaticRetries().build();
>
> Thanks,
> Shawn
>
>
>
> --
> If you reply to this email, your message will be added to the discussion
> below:
> http://lucene.472066.n3.nabble.com/SolrServerException-Invalid-
> use-of-BasicClientConnManager-connection-still-allocated-
> tp4331870p4331977.html
> To unsubscribe from SolrServerException: Invalid use of
> BasicClientConnManager: connection still allocated., click here
> 
> .
> NAML
> 
>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/SolrServerException-Invalid-use-of-BasicClientConnManager-connection-still-allocated-tp4331870p4332100.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Index upgrade time and disk space

2017-04-02 Thread sputul
Thanks, Shawn for getting back with detail explanation. I will run tests
upfront with large index and space, and see if fast disk is needed.
- Putul



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Index-upgrade-time-and-disk-space-tp4328003p4328040.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Migration from Solr 4

2016-10-18 Thread sputul
Thanks, Eric. I will use IndexUpgraderTool to upgrade index per your
suggestion.
-- Putul



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Migration-from-Solr-4-tp4301788p4301859.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Migration from Solr 4

2016-10-18 Thread sputul
Thanks, Shawn. Sad but good to know upfront hat reindex is not magic. 




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Migration-from-Solr-4-tp4301788p4301858.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Migration from Solr 4

2016-10-18 Thread sputul
Thanks for quick reply and all documents, John. I plan on placing our index
to Solr install to see if that works. And hope that Solr 4 index will
magically work with SolrConfig changes. Excuse my ignorance, but is there a
curl command or so to reindex documents in a collection? We do this in code
because index needs to synch up with other data.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Migration-from-Solr-4-tp4301788p4301820.html
Sent from the Solr - User mailing list archive at Nabble.com.


Migration from Solr 4

2016-10-18 Thread sputul
We are using Solr 4.3, sing Zoopeeker on development manage Solr Cloud having
one or two nodes. Will it be easier to migrate to Solr 5 first or should I
migrate to Solr 6 directly? I see Core definition has changed. Anything else
worth noting? 

The goal is to also use HTTPS perhaps after everything works in my local
environment using Single Zookeeper and a one or more Solr Nodes. Thanks.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Migration-from-Solr-4-tp4301788.html
Sent from the Solr - User mailing list archive at Nabble.com.