Re: Solr main replica down, another replica taking over

2018-03-20 Thread Midas A
Thanks Shawn, We want to send less traffic over virtual machines and more on physical servers . How can we achieve this On Wed, Mar 21, 2018 at 11:02 AM, Shawn Heisey wrote: > On 3/20/2018 11:18 PM, Midas A wrote: > >> I have one question here >> a) solr cloud load balance requests internally (

Re: Solr main replica down, another replica taking over

2018-03-20 Thread Shawn Heisey
On 3/20/2018 11:18 PM, Midas A wrote: I have one question here a) solr cloud load balance requests internally (Round robin or anything else ). Yes, SolrCloud does load balance requests across active replicas in the entire cloud.  I do not know what algorithm it uses for load balancing -- whet

Re: Solr main replica down, another replica taking over

2018-03-20 Thread Midas A
Hi Shawn, I have one question here a) solr cloud load balance requests internally (Round robin or anything else ). b) How can i change this behaviour (Note. I have solr cloud with mix of machines physical and virtual ) Regards, Midas On Wed, Mar 21, 2018 at 6:36 AM, Zheng Lin Edwin Yeo wrote:

Re: Solr main replica down, another replica taking over

2018-03-20 Thread Zheng Lin Edwin Yeo
Hi Shawn, Thanks for your reply. Yes, I'm using SolrCloud and my clients are Java. Will look into CloudSolrClient. Regards, Edwin On 20 March 2018 at 20:36, Shawn Heisey wrote: > On 3/20/2018 2:22 AM, Zheng Lin Edwin Yeo wrote: > >> However, for query that are using URL, if the URL is still p

Re: Solrj Analytics component

2018-03-20 Thread Jason Gerlowski
Hi Asmaa, As far as I know, there aren't any SolrJ classes built expressly for Analytics component requests like what exists for the Collection Admin APIs, etc. (https://lucene.apache.org/solr/7_2_0/solr-solrj/org/apache/solr/client/solrj/request/CollectionAdminRequest.html). But it should still

Re: Boosting Fields Based On The Query Provided

2018-03-20 Thread Shawn Heisey
On 3/20/2018 2:25 PM, Mukhopadhyay, Aratrika wrote: > I have a solr query which I am having a hard time configuring as I would > want it configured. Suppose I have a situation where I have two fields > field1(host field) and field2 (url field). I want a specific host to be > bubbled to the

Boosting Fields Based On The Query Provided

2018-03-20 Thread Mukhopadhyay, Aratrika
All , I have a solr query which I am having a hard time configuring as I would want it configured. Suppose I have a situation where I have two fields field1(host field) and field2 (url field). I want a specific host to be bubbled to the top for all terms except for when I am searching for s

Re: CDCR Invalid Number on deletes

2018-03-20 Thread Amrit Sarkar
Hi Chris, Sorry I was off work for few days and didn't follow the conversation. The link is directing me to https://issues.apache.org/jira/projects/SOLR/issues/SOLR-12063. I think we have fixed the issue stated by you in the jira, though the symptoms were different than yours. Amrit Sarkar Search

Re: CDCR Invalid Number on deletes

2018-03-20 Thread Chris Troullis
Nevermind I found itthe link you posted links me to SOLR-12036 instead of SOLR-12063 for some reason. On Tue, Mar 20, 2018 at 1:51 PM, Chris Troullis wrote: > Hey Amrit, > > Did you happen to see my last reply? Is SOLR-12036 the correct JIRA? > > Thanks, > > Chris > > On Wed, Mar 7, 2018 at

Re: CDCR Invalid Number on deletes

2018-03-20 Thread Chris Troullis
Hey Amrit, Did you happen to see my last reply? Is SOLR-12036 the correct JIRA? Thanks, Chris On Wed, Mar 7, 2018 at 1:52 PM, Chris Troullis wrote: > Hey Amrit, thanks for the reply! > > I checked out SOLR-12036, but it doesn't look like it has to do with CDCR, > and the patch that is attach

Re: Why are cursor mark queries recommended over regular start, rows combination?

2018-03-20 Thread Jason Gerlowski
> I can take a stab at this if someone can point me how to update the > documentation. Hey SG, Please do, that'd be awesome. Thanks to some work done by Cassandra Targett a release or two ago, the Solr Ref Guide documentation now lives in the same codebase as the Solr/Lucene code itself, and t

RE: Question liste solr

2018-03-20 Thread Rahul Singh
Parallel processing in any way will help, including Spark w/ a DFS like S3 or HDFS. Your three machines could end up being a bottleneck and you may need more nodes. On Mar 20, 2018, 2:36 AM -0500, LOPEZ-CORTES Mariano-ext , wrote: > CSV file is 5GB aprox. for 29 millions. > > As you say Christo

Re: Apache commons fileupload migration

2018-03-20 Thread Christopher Schultz
Shawn, On 3/20/18 9:13 AM, Shawn Heisey wrote: > On 3/15/2018 6:40 AM, padmanabhan1616 wrote: >> Hi Team,We are using Apache SOLR-5.2.1 as index engine for our data >> analytics >> application. As part of this SOLR uses commons-fileupload-1.2.1.jar >> for file >> manipulation.There is security Vul

Re: Apache commons fileupload migration

2018-03-20 Thread Shawn Heisey
On 3/15/2018 6:40 AM, padmanabhan1616 wrote: Hi Team,We are using Apache SOLR-5.2.1 as index engine for our data analytics application. As part of this SOLR uses commons-fileupload-1.2.1.jar for file manipulation.There is security Vulnerability identified in commons-fileupload library: *CVE-2016-

Re: Error when indexing with SolrJ HTTP ERROR 405

2018-03-20 Thread Shawn Heisey
On 3/18/2018 9:46 PM, Khalid Moustapha Askia wrote: SolrClient client = new HttpSolrClient.Builder(" http://localhost:8983/solr/#/corename";).build(); When I remove the "#" It throws a NullPointerException URLs with # in them will ONLY work in a browser.  They will not work for SolrJ.  T

Re: Solr main replica down, another replica taking over

2018-03-20 Thread Shawn Heisey
On 3/20/2018 2:22 AM, Zheng Lin Edwin Yeo wrote: However, for query that are using URL, if the URL is still pointing to the main replica http://192.168.2.11:8983/solr, it will not go through. We have to manually change the URL to point it to the other replica http://192.168.2.12:8984/solr before

RE: QueryElevator prepare() in in distributed search

2018-03-20 Thread Markus Jelsma
Anything on this one to share? Thanks, Markus -Original message- > From:Markus Jelsma > Sent: Friday 16th March 2018 18:13 > To: Solr-user > Subject: QueryElevator prepare() in in distributed search > > Hello, > > QueryElevator.prepare() runs five times for a single query in distribu

Re: How does group.query work in solr?

2018-03-20 Thread Zheng Lin Edwin Yeo
Which version of Solr are you using? Also, what are the field types that you have used to index those fields? Regards, Edwin On 19 March 2018 at 21:08, Anjani Kumar wrote: > I am trying to achieve grouping according to the fields matched in a single > query. So in the group.query parameter I am

Re: Indexing multi level Nested JSON

2018-03-20 Thread Zheng Lin Edwin Yeo
Hi Mikhail, Thanks for your reply. Meaning the only way to identify them is to add in the fields, like Eg: contentType during indexing? Regards, Edwin On 20 March 2018 at 16:34, Mikhail Khludnev wrote: > Edwin, > You need to add necessary fields into child/grands to keep multiple levels > and

Re: Error when indexing with SolrJ HTTP ERROR 405

2018-03-20 Thread Zheng Lin Edwin Yeo
Regarding the # in the Solr Url, I found that I also have the # that appears automatically in the Solr URL when I'm at the Solr Admin UI. Even when I correct it to remove it, it will appear again. How can we remove the #? Regards, Edwin On 19 March 2018 at 17:36, Vincenzo D'Amore wrote: > Pay

Re: Indexing multi level Nested JSON

2018-03-20 Thread Mikhail Khludnev
Edwin, You need to add necessary fields into child/grands to keep multiple levels and reconstruct them in result post processing. There is nothing ready-made for it. On Tue, Mar 20, 2018 at 7:02 AM, Zheng Lin Edwin Yeo wrote: > I have found that we can index multi level Nested JSON with child o

Solr main replica down, another replica taking over

2018-03-20 Thread Zheng Lin Edwin Yeo
Hi, We have a Solr setup with 2 replicas. Main replica (usually the leader): http://192.168.2.11:8983/solr Other replica: http://192.168.2.12:8984/solr When the main replica is down, the other replica will correctly take over as the leader. Usually when this happens, the indexing using post.jar

RE: Question liste solr

2018-03-20 Thread LOPEZ-CORTES Mariano-ext
CSV file is 5GB aprox. for 29 millions. As you say Christopher, at the beggining we thougth that reading chunk by chunk from Oracle and writing to Solr was the best strategy. But, from our tests we've remarked: CSV creation via PL/SQL is really really fast. 40 minutes for the full dataset (w