Indexing issues after cluster restart.

2015-08-03 Thread Fadi Mohsen
Hi, using SOLR 5.2 after restarting the cluster, I get below exceptions org.apache.solr.cloud.ZkController; Timed out waiting to see all nodes published as DOWN in our cluster state. followed by : org.apache.solr.common.SolrException; org.apache.solr.common.SolrException: No registered leader wa

Re: Basic auth

2015-07-27 Thread Fadi Mohsen
r from > (our unsecured) ZK but from a configuration restful service, > > I'm not clear what your question is. Basic Auth is a well-known > standard. We are just implementing that standard. We store all > credentials & permissions in ZK . That means it is only as secure as &

Re: Basic auth

2015-07-22 Thread Fadi Mohsen
Hi, I have some questions regarding basic auth and proper support in 5.3: do you know when it would be released? Are there any requirements of ZK authentication must be there as well? Do we store the user/pass in ZK? SOLR-7274 pluggable security is already in 5.2 (my requirement is to provide

Re: Tips for faster indexing

2015-07-21 Thread Fadi Mohsen
In Java: UUID.randomUUID(); That is what I'm using. Regards > On 21 Jul 2015, at 22:38, Vineeth Dasaraju wrote: > > Hi Upayavira, > > I guess that is the problem. I am currently using a function for generating > an ID. It takes the current date and time to milliseconds and generates the > id.

Re: Problems with loading core when starting Solr 5.2.1

2015-07-07 Thread Fadi Mohsen
Found the answer here: http://lucidworks.com/blog/call-maybe-solrcloud-jepsen-flaky-networks/ /Fadi > On 07 Jul 2015, at 11:48, Fadi Mohsen wrote: > > Hi, Would Solr give inconsistent results if ZK quorum not achieved + one > leader (last state) goes down? > > /Fadi >

Re: Problems with loading core when starting Solr 5.2.1

2015-07-07 Thread Fadi Mohsen
Hi, Would Solr give inconsistent results if ZK quorum not achieved + one leader (last state) goes down? /Fadi > On 07 Jul 2015, at 05:17, Erick Erickson wrote: > > A Zookeeper quorum is not necessary for searching. Well, > that's stating it a little too strongly. A Solr cluster will do its > b

Re: Solr returning weird results

2015-06-23 Thread Fadi Mohsen
Sent from my iPhone > On 23 Jun 2015, at 16:37, Freakheart wrote: > > I am trying to set up Solr for my data, I have configured all the things and > the search seems to be working fine but some times I am getting weird > results. > > For example if I am searching for a term 'vicryl ctx 2-0 70

Re: Solr standalone + SSL and basic auth

2015-06-22 Thread Fadi Mohsen
e,_=1435005266725} },response={numFound=27,start=0,maxScore=1.0,docs=[]},sort_values={},debug={timing={time=5.0,prepare={time=0.0,query={time=0.0},facet={time=0.0},facet_module={time=0.0},mlt={time=0.0},highlight={time=0.0},stats={time=0.0},expand={time=0.0},debug={time=0.0}},process={time=0.0,query={

Re: Solr standalone + SSL and basic auth

2015-06-22 Thread Fadi Mohsen
Create collection : /solr/admin/collections?action=CREATE&name=${collectionName}&numShards=5&replicationFactor=3&maxShardsPerNode=3 On Mon, Jun 22, 2015 at 12:56 PM, Fadi Mohsen wrote: > Hi, I managed wiring up jetty and Solr war programmatically. > > After seeing SOL

Solr standalone + SSL and basic auth

2015-06-22 Thread Fadi Mohsen
Hi, I managed wiring up jetty and Solr war programmatically. After seeing SOLR-4470 (issues with inter cluster/node client calls), we now set: HttpClientUtil.setConfigurer(new MyCustomHttpClientConfigurer()); to setup clients before doing any inter node calls. also combined with: jettywebapp.setP

Re: Submit schema definition using curl via SOLR

2013-01-24 Thread Fadi Mohsen
ction environment), which is per module a one to much configuration step. On Thu, Jan 24, 2013 at 7:18 PM, Mark Miller wrote: > > On Jan 24, 2013, at 10:02 AM, Fadi Mohsen wrote: > > > Hi, We would like to use Solr to index statistics from any Java module in > >

Submit schema definition using curl via SOLR

2013-01-24 Thread Fadi Mohsen
Hi, We would like to use Solr to index statistics from any Java module in our production environment. Applications have to can create collections and index data on demand, so my initial thought is to use different HTTP methods to accomplish a collection in cluster and then right away start HTTP PO