Setting up Solr Replica on different machine

2018-05-31 Thread Zheng Lin Edwin Yeo
Hi, I am planning to set up Solr with replica on different machine. How should I go about configuring the setup? Like for example, should the replica node be started on the host machine, or on the replica machine? I will be setting this in Solr 7.3.1. Regards, Edwin

Re: Replicate managed-schema in Solr Master/Slave Configuration

2018-05-31 Thread Erick Erickson
https://issues.apache.org/jira/secure/Dashboard.jspa You have to create a login, but then you can raise a Solr JIRA. Please put in all the detail you can to help someone reproduce. One more thing to try: Rename your managed-schema to something like testschema.xml, and change your solrconfig as

RE: Replicate managed-schema in Solr Master/Slave Configuration

2018-05-31 Thread Kelly Rusk
Thanks Erick, I have made changes on the Master/indexing that are replicated to the Slave and the managed-schema does not come over. Sounds like a JIRA entry may be in order. How do I go about doing that? I am not using ConfigSets as each Core has its own unique Schema. Regards, Kelly

Re: Replicate managed-schema in Solr Master/Slave Configuration

2018-05-31 Thread Erick Erickson
On a quick glance at the code, I don't see anything requiring an xml extension for the managed schema. I suppose it's possible that the hyphen is messing things up. You should see a message like: "Adding config files to list: " .. on replication if you turn on debug-level logging. At

Replicate managed-schema in Solr Master/Slave Configuration

2018-05-31 Thread Kelly Rusk
Hello all, I need to replicate the managed-schema in my Solr 6.6.2 Master/Slave environment and have added the necessary replication handlers. However, as the managed-schema does not have a file extension it doesn't seem to get picked up/replicated: schema.xml,managed-schema,stopwords.txt How

REMINDER: Apache EU Roadshow 2018 in Berlin is less than 2 weeks away!

2018-05-31 Thread sharan
Hello Apache Supporters and Enthusiasts This is a reminder that our Apache EU Roadshow in Berlin is less than two weeks away and we need your help to spread the word. Please let your work colleagues, friends and anyone interested in any attending know about our Apache EU Roadshow event. We

Query logs when query reached the solr server

2018-05-31 Thread Nawab Zada Asad Iqbal
Hi, 1. Is there a way to enable query log when the query first reached the solr server? 2. In recent Solr versions, there is a NOW value in the query log. Is it correct to assume that this is the time when query arrived on that server? Thanks Nawab

Re: Pointing 3 Solr Servers to a 3-node Zookeeper Cluster

2018-05-31 Thread Shawn Heisey
On 5/31/2018 10:30 AM, THADC wrote: > I have a three-node zookeeper cluster running on ports 2181, 2182, and 2183. > I also am creating three solr server nodes (running as solr cloud > instances). I want the three solr nodes (on ports 7574, 8983, and 8990) to > be in that zookeeper cluster. Since

RE: No solr.log in solr cloud 7.3

2018-05-31 Thread msaunier
FYI -- having two zookeeper servers is actually LESS stable than only having one. You need at least three. Here are links to a couple of notes in the zookeeper documentation that discuss this requirement: We have 9 server in production and 3 (2+1) in dev So, this 2 are for the dev and it's on

Re: Solr 7, exact phrase search, empty results for some records

2018-05-31 Thread Erick Erickson
The analysis page has one major thing to be aware of: It sees what would be in the field _after_ query parsing. I applaud your use of it, it's where lots of problems are found ;). Try adding =query in the two cases. Particularly look at the parsedquery_tostring in the response and compare. And I

Pointing 3 Solr Servers to a 3-node Zookeeper Cluster

2018-05-31 Thread THADC
Hello, I have a three-node zookeeper cluster running on ports 2181, 2182, and 2183. I also am creating three solr server nodes (running as solr cloud instances). I want the three solr nodes (on ports 7574, 8983, and 8990) to be in that zookeeper cluster. Since the three zookeeper nodes are in the

Re: No solr.log in solr cloud 7.3

2018-05-31 Thread Shawn Heisey
On 5/31/2018 7:04 AM, msaunier wrote: > wget > http://apache.mirrors.ovh.net/ftp.apache.org/dist/lucene/solr/6.6.1/solr-6.6.1.tgz > tar -xzf solr-*.tgz > /opt/solr-*/bin/install_solr_service.sh /opt/solr-*.tgz > /etc/init.d/solr stop > rm -f solr-*.tgz So you did use the service installer. > 2.

Re: SolrJ, CloudSolrClient and basic authentication

2018-05-31 Thread Shawn Heisey
On 5/31/2018 8:03 AM, Dimitris Kardarakos wrote: > Following the feedback in the "Index protected zip" thread, I am > trying to add documents to the index using SolrJ API. > > The server is in SolrCloud mode with BasicAuthPlugin for authentication. > > I have not managed to figure out how to pass

Solr 7, exact phrase search, empty results for some records

2018-05-31 Thread damian.pawski
Hi, I have updated Solr from 5.4.1 to 7.2.1. I have updated the settings accordingly, but in some cases when I am searching for an exact phrase surrounded by quotes I am getting 0 results. In 5.4.1 I have

Solr query string compare to actual date and build a new string on this?

2018-05-31 Thread servus01
Hey, digging the web for a while now to find a solution due to a complex search string. what i've got: xml file with a date/description fields which are not part of the index: (start-date-time="2018-04-01T18:00:00.000+02:00" code-name="MD 28") (start-date-time="2018-04-07T15:00:00.000+02:00"

SolrJ, CloudSolrClient and basic authentication

2018-05-31 Thread Dimitris Kardarakos
Hi. Following the feedback in the "Index protected zip" thread, I am trying to add documents to the index using SolrJ API. The server is in SolrCloud mode with BasicAuthPlugin for authentication. I have not managed to figure out how to pass username/password to my client. Thanks, --

search q via dynamic string depends on date

2018-05-31 Thread servus01
Hey, digging the web for a while now to find a solution due to a complex search string. what i've got: xml file with a date/description fields which are not part of the index: (start-date-time="2018-04-01T18:00:00.000+02:00" code-name="MD 28") (start-date-time="2018-04-07T15:00:00.000+02:00"

RE: No solr.log in solr cloud 7.3

2018-05-31 Thread msaunier
I start Solr with /etc/init.d/solr script: # #!/bin/sh # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for

Update Solr Document

2018-05-31 Thread Rushikesh Garadade
Hi solr-user, I am using Solr 7.2. I am newbie in solr , please forgive my nuisance. Lets say I have one solr collection(say Collection X) with 100 Documents(lets say 5 fields in one Document) and I have another collection(say Collection Y) with 1 lakh Documents (same 5 fields in one Document

Re: No solr.log in solr cloud 7.3

2018-05-31 Thread Shawn Heisey
On 5/31/2018 1:49 AM, SAUNIER Maxence wrote: What procedure did you follow to install Solr? The procedure on the documentation to install SolR Cloud You're going to have to be a lot more specific.  The only documentation that I consider to be relevant for installing Solr is NOT on the

Re: Understanding SOLR Joins

2018-05-31 Thread Mikhail Khludnev
On Tue, May 29, 2018 at 10:50 AM, Nancy Goyal <87.na...@gmail.com> wrote: > Hi, > > > I have implemented basic SOLR Joins between two collections. Currently in > my project implementation, we are getting data from multiple tables and > storing as single document in view and indexing that view. We

Impact of timeAllowed parameter

2018-05-31 Thread Greenhorn Techie
Hi, Wondering how would be the calling application informed that the search request has been impacted due to time-out vs it has completed normally? Is there something that is sent to the client as part of the response that time-out has been invoked? Thanks

Model type does not exist MultipleAdditiveTreesModel

2018-05-31 Thread Roee T
Hi all, I'm trying to upload the most simple model to solr 7.3.1 and i get an error: the model: { "class" : "org.apache.solr.ltr.model.MultipleAdditiveTreesModel", "name" : "my", "features":[], "params" : { "trees" : [ { "weight" : 1,

Re: Solr Cloud 7.3.1 backups

2018-05-31 Thread Greg Roodt
Hi Rahul Solr is a secondary index. The system of record is a RDBMS. I'm currently looking at using AWS Elastic File System. Have you got any experience with this? I also thought about trying s3fs. When you say backup locally, what do you mean? Backup the files on disc without the associated

Re: Solr Cloud 7.3.1 backups

2018-05-31 Thread Rahul Singh
Greg, Is SolR your main system of record or is it a secondary index to a primary data store? Depending on the answer to that question I would recommend different options. If primary, then I would ask what is the underlying compute infrastructure. Is it container, VM , or bare metal. There

Re: Weird behavioural differences between pf in dismax and edismax

2018-05-31 Thread Sambhav Kothari
Hi, We personally use dismax as a more basic search endpoint so that users who are not aware for lucene syntax don't end up using special keywords or chars. which might affect their search queries. The switch between dismax and edismax is triggered by an advanced get param. I imagine there might

RE:No solr.log in solr cloud 7.3

2018-05-31 Thread SAUNIER Maxence
What procedure did you follow to install Solr? The procedure on the documentation to install SolR Cloud How was it started? I think 1 weeks, but I only realized it yesterday. Before, no problems. What version of Solr? 7.3 What OS flavor are you running on? Debian Does you solr.in.sh have a