Solr master slave configuration not ETag friendly

2018-03-19 Thread indranil32
We have 1 master 3 repeater 150 slaves deployed in our production, with 50 slaves replicating from each repeater and all repeaters replicating from master. We always observe that the slaves' have different index version and as a result the generated "ETag" from slaves for the same query is differe

Re: Indexing multi level Nested JSON

2018-03-19 Thread Zheng Lin Edwin Yeo
I have found that we can index multi level Nested JSON with child of child relationship. However, how can we identify it from the output that it is the child of child relationship? From what I have see, all the line results are tied and pointed to the parents, so it seems that all are the parent-c

Re: Adding Documents to Solr by using Java Client API is failed

2018-03-19 Thread Andy Tang
Erik, Thank you so much! On Sat, Mar 17, 2018 at 5:50 PM, Erick Erickson wrote: > So if you're saying that the docs are successfully added, then you can > ignore the SLF4J messages. They're just telling you that you don't have > logging configured. If your client application wants to use a logg

Re: Securying ONLY the web interface console

2018-03-19 Thread Shawn Heisey
On 3/19/2018 11:19 AM, Jesus Olivan wrote: > i'm trying to password protect only Solr web interface (not queries > launched from my app). I'm currently using SolrCloud 6.6.0 with external > zookeepers. I've read tons of Docs about it, but i couldn't find a proper > way to secure ONLY the web admin

Re: Some performance questions....

2018-03-19 Thread Shawn Heisey
On 3/16/2018 4:24 PM, Deepak Goel wrote: > It is taking less than 100ms to create a HttpSolrClient Object "Less than 100ms" is vague.  Let's say by that you mean it takes at least 50 milliseconds.  This is a lot slower than I expected it to be, but if you've measured it, I'll accept that. If ever

Re: Securying ONLY the web interface console

2018-03-19 Thread Rahul Singh
Use a proxy server that only gives access to the update / select handlers (URLs). Can do it with a numerous programming languages or with a simple proxy in nginx. The whole web server running SolR is not supposed to be out in the open. You are opening yourself up to too many issues. -- Rahul S

Re: question regarding wildcard-searches

2018-03-19 Thread Erick Erickson
right, I put in the bit about multiValued just in case. We can ignore it. You're about to dive into the arcana of analysis chains. Be prepared to spend some time there ;) Here's the issue: StandardTokenizer breaks up the input stream according to a set of rules, a summary is here: https://lucen

Securying ONLY the web interface console

2018-03-19 Thread Jesus Olivan
hi! i'm trying to password protect only Solr web interface (not queries launched from my app). I'm currently using SolrCloud 6.6.0 with external zookeepers. I've read tons of Docs about it, but i couldn't find a proper way to secure ONLY the web admin console. Can anybody give me some light about

Re: Question liste solr

2018-03-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mariano, On 3/19/18 11:50 AM, LOPEZ-CORTES Mariano-ext wrote: > Hello > > We have an index Solr with 3 nodes, 1 shard et 2 replicas. > > Our goal is to index 42 millions rows. Indexing time is important. > The data source is an oracle database. >

Re: LTR - OriginalScore query issue

2018-03-19 Thread Alessandro Benedetti
>From Apache Solr tests : loadFeature( "SomeEdisMax", SolrFeature.class.getCanonicalName(), "{\"q\":\"{!edismax qf='title description' pf='description' mm=100% boost='pow(popularity, 0.1)' v='w1' tie=0.1}\"}"); *qf='title description'* Can you try again using the proper

RE: question regarding wildcard-searches

2018-03-19 Thread Paesen Roel
Hi, The goal is to provide a google-like search field for our databases, (one simple searchfield on a webpage) that is why we copy everything into the _text_ field, so that everything is searchable. (is there a better way to achieve something like this?) I should have been more clear before, b

RE: Question liste solr

2018-03-19 Thread LOPEZ-CORTES Mariano-ext
Sorry. Thanks in advance !! De : LOPEZ-CORTES Mariano-ext Envoyé : lundi 19 mars 2018 16:50 À : 'solr-user@lucene.apache.org' Objet : RE: Question liste solr Hello We have an index Solr with 3 nodes, 1 shard et 2 replicas. Our goal is to index 42 millions rows. Indexing time is important. The d

RE: Question liste solr

2018-03-19 Thread LOPEZ-CORTES Mariano-ext
Hello We have an index Solr with 3 nodes, 1 shard et 2 replicas. Our goal is to index 42 millions rows. Indexing time is important. The data source is an oracle database. Our indexing strategy is : * Reading from Oracle to a big CSV file. * Reading from 4 files (big file chunk

Re: Replication in Master Slave Solr setup

2018-03-19 Thread Erick Erickson
The OP was making an invalid assumption I think, that the index would replicate _whenever_ the index changed. But that's not necessarily true, although it's the most common (and default) case. >From the ref guiide: 'If you use "startup", you need to have a "commit" and/or "optimize" entry also if

How does group.query work in solr?

2018-03-19 Thread Anjani Kumar
I am trying to achieve grouping according to the fields matched in a single query. So in the group.query parameter I am passing individual queries according to field names and in the query parameter, I am passing just the search term to be matched against the default copy fields. However It is taki

Re: SOLR subscription

2018-03-19 Thread Zheng Lin Edwin Yeo
Hi, You will need to send an email to: solr-user-subscr...@lucene.apache.org. Regards, Edwin On 15 March 2018 at 14:27, SAMMAR UL HASSAN wrote: > Hi, > > I hope all is well. We are using SOLR for searches in our products. We > want to share some sort of feedback & also discuss various issues.

Re: Error when indexing with SolrJ HTTP ERROR 405

2018-03-19 Thread Vincenzo D'Amore
Pay attention to # in the Solr Url http://localhost:8983/solr/#/corename Try to correct it into http://localhost:8983/solr/corename On Mon, Mar 19, 2018 at 8:47 AM, Shamik Sinha wrote: > You need to send binary content instead of html. Atleast that is what the > error shows. > > I also think

Re: Error when indexing with SolrJ HTTP ERROR 405

2018-03-19 Thread Shamik Sinha
You need to send binary content instead of html. Atleast that is what the error shows. I also think the url is wrong. The correct url should have http://localhost:8983/solr/core/update Check first whether indexing is working on the same data that you are trying to or not using the browser based

Error when indexing with SolrJ HTTP ERROR 405

2018-03-19 Thread Khalid Moustapha Askia
Hi. I am trying to index some data with Solr by using SolrJ. But I have this error that I can't solve. - Exception in thread "main" org.apache.solr.client.solrj.impl.HttpSolrClient$Remot