Re: SolrCloud CDCR issue

2018-08-10 Thread cdatta
I followed the exact steps you suggested. Now I am not seeing that error. INFO - 2018-08-10 15:23:58.159; [c:collection_name s:shard2 r:core_node13 x:collection_name_shard2_replica_n10] org.apache.solr.handler.CdcrReplicator; Forwarded 10 updates to target collection_name However, in destinatio

Re: Solr Multiple Hostnames

2018-08-10 Thread Shawn Heisey
On 8/10/2018 11:12 AM, Kelly Rusk wrote: I want traffic passed over https to flow through the load balancer and resolve on the Solr servers by an address of https://solr.mydomain.com:8983/solr. The hostname I have set for the Solr Master is master.mydomain.com and the Slave is slave.mydomain.c

Re: Solr 7.1 nodes shutting down

2018-08-10 Thread Shawn Heisey
On 8/10/2018 1:20 PM, Joe Obernberger wrote: Hi All - having an issue that seems to be related to the machine being under a high CPU load.  Occasionally a node will fall out of the solr cloud cluster.  It will be using 200% CPU and show the following exception: 2018-08-10 15:36:43.416 INFO  (

Re: 4 days and no solution - please help on Solr

2018-08-10 Thread ☼ R Nair
Thanks Christoper and Jason. Problem solved. What you mentioned works. Thanks a million. Have a good weekend. Best, Ravion On Fri, Aug 10, 2018 at 3:31 PM Christopher Schultz < ch...@christopherschultz.net> wrote: > Ravion, > > What's wrong with "update request"? Updating a document that does n

Highlighting is not working with docValues only String field

2018-08-10 Thread Karthik Ramachandran
We are using Solr 7.2.1, highlighting is not working with docValues only String field. Should I open a JIRA for this? Schema: id Data: [{"id":1,"name":"Testing line 1"},{"id":2,"name":"Testing line 2"},{"id":3,"name":"Testing line 3"}] Query: http://localhost:8983/solr/test

Re: Solr admin client crash - caused by too many fields

2018-08-10 Thread Erick Erickson
The analysis page is not all that efficient and can take a long time to execute, especially with 60K fields. Having that many fields is almost always a cause to revisit your design and cut the number of fields down. Solr can cope (well, except for the analysis page and some other edge cases), but

Re: 4 days and no solution - please help on Solr

2018-08-10 Thread Christopher Schultz
Ravion, What's wrong with "update request"? Updating a document that does not exist... will add it. -chris On 8/10/18 3:01 PM, ☼ R Nair wrote: > Do you feel that this is only partially complete? > > Best, Ravion > > On Fri, Aug 10, 2018, 1:37 PM ☼ R Nair wrote: > >> I saw this. Please provid

Solr 7.1 nodes shutting down

2018-08-10 Thread Joe Obernberger
Hi All - having an issue that seems to be related to the machine being under a high CPU load.  Occasionally a node will fall out of the solr cloud cluster.  It will be using 200% CPU and show the following exception: 2018-08-10 15:36:43.416 INFO  (qtp1908316405-203450) [c:models s:shard3 r:cor

Re: 4 days and no solution - please help on Solr

2018-08-10 Thread ☼ R Nair
Do you feel that this is only partially complete? Best, Ravion On Fri, Aug 10, 2018, 1:37 PM ☼ R Nair wrote: > I saw this. Please provide for add. My issue is with add. There is no > "AddRequesg". So how to do that, thanks > > Best Ravion > > On Fri, Aug 10, 2018, 12:58 PM Jason Gerlowski > wr

Re: 4 days and no solution - please help on Solr

2018-08-10 Thread ☼ R Nair
I saw this. Please provide for add. My issue is with add. There is no "AddRequesg". So how to do that, thanks Best Ravion On Fri, Aug 10, 2018, 12:58 PM Jason Gerlowski wrote: > The "setBasicAuthCredentials" method works on all SolrRequest > implementations. There's a corresponding SolrRequest

Faceting with nested Document

2018-08-10 Thread Rajesh Kumar
Hi All, I am trying to do faceting with "tag and exclude" on nested document Below nested document sample {"master_id":"8219", "color_label":["White"], "price":1550.0, "product_id":"8220", "size_label":["XS"], "color_option_id":["82"], "product":"Pom

RE: Solr Multiple Hostnames

2018-08-10 Thread Kelly Rusk
Hi Shawn, I want traffic passed over https to flow through the load balancer and resolve on the Solr servers by an address of https://solr.mydomain.com:8983/solr. The hostname I have set for the Solr Master is master.mydomain.com and the Slave is slave.mydomain.com. So, are you stating that so

Re: 4 days and no solution - please help on Solr

2018-08-10 Thread Jason Gerlowski
The "setBasicAuthCredentials" method works on all SolrRequest implementations. There's a corresponding SolrRequest object for most common Solr APIs. As you mentioned, I used QueryRequest above, but the same approach works for any SolrRequest object. The specific one for indexing is "UpdateReques

RE: sharding and placement of replicas

2018-08-10 Thread Oakley, Craig (NIH/NLM/NCBI) [C]
Note that I usually create collections with commands which contain (for example) solr/admin/collections?action=CREATE&name=collectest&collection.configName=collectest&numShards=1&replicationFactor=1&createNodeSet= I give one node in the createNodeSet and then ADDREPLICA to the other node. In cas

Re: 4 days and no solution - please help on Solr

2018-08-10 Thread ☼ R Nair
Hi Jason, Thanks for replying. I am adding a document, not querying. I am using 7.3 apis. Adding a document is done via solrclient.add(). How to set authentication in this case? Seems I can't use SolrRequest. Thx, bye RAVION On Fri, Aug 10, 2018, 10:46 AM Jason Gerlowski wrote: > I'd trie

Re: SolrCloud CDCR issue

2018-08-10 Thread Amrit Sarkar
Honestly, any of the in that case. Please follow the following steps; 1. Stop CDCR on cluster-1 2. Stop CDCR on cluster-2 Both the above steps are critical. 3. Shut down all nodes of cluster-1 4. Shut down all nodes of cluster-2 5. Start all nodes at cluster-1 6. Start all nodes at cluster-2 7. St

Re: SolrCloud CDCR issue

2018-08-10 Thread cdatta
Really appreciate your response. I saw this information in some of your earlier posts related to CDCR. We are using our Cloud Cluster as an Active/Active settings and bi-directional CDCR. In that case, which one should we start first? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f4

Re: Solr admin client crash - caused by too many fields

2018-08-10 Thread Shawn Heisey
On 8/10/2018 7:38 AM, ruby wrote: I have 60 thousand fields in schema. When I go to the Analysis page to analyze a field content http://localhost:8983/solr/#/collection1/analysis?analysis.fieldvalue=xyz&analysis.query=xyz&analysis.fieldname=field1&verbose_output=0 the admin panel crashes and sh

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-10 Thread Jan Høydahl
Hi, Did you solve your issue? SSL should work ootb in 7.4, the class that your error says is not found exists, so there must be some setup issues. How did you install Solr, how do you start it, what is the content of your solr.in .sh etc -- Jan Høydahl, search solution architec

Re: 4 days and no solution - please help on Solr

2018-08-10 Thread Jason Gerlowski
I'd tried to type my previous SolrJ example snippet from memory. That didn't work out so great. I've corrected it below: final List zkUrls = new ArrayList<>(); zkUrls.add("localhost:9983"); final SolrClient client = new CloudSolrClient.Builder(zkUrls, Optional.empty()).build(); final Map queryP

Re: 4 days and no solution - please help on Solr

2018-08-10 Thread Jason Gerlowski
I would also recommend removing the username/password from your Solr base URL. You might be able to get things working that way, but it's definitely less common, and it wouldn't surprise me if some parts of SolrJ mishandle a URL in that format. Though that's just a hunch on my part. On Fri, Aug 1

Re: Rich Text Format - Clob

2018-08-10 Thread Alexandre Rafalovitch
I think you need ClobTransformer at some point in the processing: https://lucene.apache.org/solr/guide/7_4/uploading-structured-data-store-data-with-the-data-import-handler.html#clobtransformer Regards, Alex. On 10 August 2018 at 10:02, tfaltinat wrote: > Hi, > > we have an Oracle database wh

Re: 4 days and no solution - please help on Solr

2018-08-10 Thread Jason Gerlowski
Hi Ravion, (Note: I'm not sure what Solr version you're using. My answer below assumes Solr 7 APIs. These APIs don't change often, but you might find them under slightly different names in your version of Solr.) SolrJ provides 2 ways (that I know of) to provide basic auth credentials. The firs

Rich Text Format - Clob

2018-08-10 Thread tfaltinat
Hi, we have an Oracle database where we store Rtf content into a Clob column. Now we try to index those records but we just want to get the plain text, same as Tika does. I tried to use the TikaEntityProcessor but I’m getting the following error message: ClassCastException: java.io.StringReader c

Solr admin client crash - caused by too many fields

2018-08-10 Thread ruby
I have 60 thousand fields in schema. When I go to the Analysis page to analyze a field content http://localhost:8983/solr/#/collection1/analysis?analysis.fieldvalue=xyz&analysis.query=xyz&analysis.fieldname=field1&verbose_output=0 the admin panel crashes and shows error: Connection to Solr lost.

Solr admin client crash - caused by too many fields

2018-08-10 Thread ruby
I have 60 thousand fields in schema. When I go to the Analysis page to analyze a field content http://localhost:8983/solr/#/collection1/analysis?analysis.fieldvalue=xyz&analysis.query=xyz&analysis.fieldname=field1&verbose_output=0 the admin panel crashes and shows error: Connection to Solr lost.

Re: SolrCloud CDCR issue

2018-08-10 Thread Amrit Sarkar
To the concerned, WARN : [c:collection_name s:shard2 r:core_node11 > x:collection_name_shard2_replica_n8] > org.apache.solr.handler.CdcrRequestHandler; The log reader for target > collection collection_name is not initialised @ collection_name:shard2 > This means the source cluster was started fi