preferLocalShards setting

2018-09-06 Thread Wei
Hi, I am setting up a solr cloud with external load balancer. Noticed the 'preferLocalShards' configuration and I am wondering how it would impact performance. If one host can have replicas from all shards it sure will be beneficial; but in my 5 shard / 2 replica cloud on 5 servers, each server

Re: Solr range faceting

2018-09-06 Thread Erick Erickson
Indeed this doesn't look right. By my count, you're missing 599 counts you'd expect in that range, although the after and between numbers total the numFound. What kind of a field is Value? Given the number of docs missing, I'd guess you could get the number of docs down really small and post

Re: Solr range faceting

2018-09-06 Thread Dwane Hall
Thanks Jan that has fixed the bucket issue but I'm a little confused at why zero counts exist for some buckets when they appear to be values in them? "response":{"numFound":869,"start":0,"docs":[ { "Value":9475.08}, { "Value":780.0}, { "Value":9475.08},

Re: Solr range faceting

2018-09-06 Thread Jan Høydahl
Try facet.minCount=0 Jan > 7. sep. 2018 kl. 01:07 skrev Dwane Hall : > > Good morning Solr community. I'm having a few facet range issues for which > I'd appreciate some advice when somebody gets a spare couple of minutes. > > Environment > Solr Cloud (7.3.1) > Single Shard Index, No

Solr range faceting

2018-09-06 Thread Dwane Hall
Good morning Solr community. I'm having a few facet range issues for which I'd appreciate some advice when somebody gets a spare couple of minutes. Environment Solr Cloud (7.3.1) Single Shard Index, No replicas Facet Configuration (I'm using the request params API and useParams at runtime)

Re: Multi word searching is not working getting random search results

2018-09-06 Thread Susheel Kumar
How about you search with Intermodal Schedules (plural) & try phrase slop for better control on relevancy order https://lucene.apache.org/solr/guide/6_6/the-extended-dismax-query-parser.html On Thu, Sep 6, 2018 at 12:10 PM Muddapati, Jagadish < jagadish.muddap...@nscorp.com> wrote: > Label:

Re: Expected mime type application/octet-stream but got text/html

2018-09-06 Thread Alexandre Rafalovitch
Why is this http://host:port/solr-master/get? The normal URL is http://host:port/solr//. "get" as a handler is fine, can be empty for "collection1" in older Solr. But what is "solr-master" here and where is the required "/solr" part? What is your collection name? So, to me, either your URL is

Re: Expected mime type application/octet-stream but got text/html

2018-09-06 Thread Walter Underwood
I thought there was a fix for this in SolrJ. This is a bug. It is getting some error, like a 400 or 503, but instead of reporting the error, it makes a different error about the content-type. That is just busted, but I can’t find a Jira for it. wunder Walter Underwood wun...@wunderwood.org

Re: Expected mime type application/octet-stream but got text/html

2018-09-06 Thread nalsrini
Here is the error message I am getting: https://screencast.com/t/XwEjA22jX -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Autoscaling with core properties

2018-09-06 Thread James Strassburg
I created SOLR-12752 ( https://issues.apache.org/jira/browse/SOLR-12752 ) for this issue. We're also using user properties in our dataimporthandler data-config.xml so SOLR-11529 ( https://issues.apache.org/jira/browse/SOLR- 11529 ) prevented us

Re: Need to connect solr with solrj from AWS lambda

2018-09-06 Thread nalsrini
Hi Mikhail, I am good now after some changes in the AWS including security group. thanks -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Solr 7.4.0 - bug in JMX cache stats?

2018-09-06 Thread Bojan Šmid
Hi, it seems the format of cache mbeans changed with 7.4.0. And from what I see similar change wasn't made for other mbeans, which may mean it was accidental and may be a bug. In Solr 7.3.* format was (each attribute on its own, numeric type): mbean:

Use ListNet or LambdaRank algorithm to train the model for the Solr LTR

2018-09-06 Thread Zheng Lin Edwin Yeo
Hi, Has anyone tried to use ListNet or LambdaRank algorithm to train the model for the Solr LTR? I am looking at NeuralNetworkModel with a Listwise approach, and these two algorithms fits the bill. However, there is not much document of using these two algorithms to work with Solr. I am using

Multi word searching is not working getting random search results

2018-09-06 Thread Muddapati, Jagadish
Label: newbie Environment: I am currently running solr on Linux platform. NAME="Red Hat Enterprise Linux Server" VERSION="7.5" openjdk version "1.8.0_181" AEM version: 6.2 I recently integrate solr to AEM and when i do search for multiple words the search results are getting randomly. search

Corrupt Index error on Target cluster

2018-09-06 Thread Susheel Kumar
Hello, We had a running cluster with CDCR and there were some issues with indexing on Source cluster which got resolved after restarting the nodes (in my absence...) and now I see below errors on a shard at Target cluster. Any suggestions / ideas what could have caused this and whats the best

Re: SolrCloud CDCR with 3+ DCs

2018-09-06 Thread cdatta
Hi Amrit, Thanks for your response. We wiped out our complete installation and started a fresh one. Now the multi-direction replication is working but we are seeing errors related to the authentication sporadically. Thanks & Regards, Chandi Datta -- Sent from:

Re: Concurrent Update Client Stops on Exceptions Randomly v7.4

2018-09-06 Thread Erick Erickson
I would seriously consider moving away from DIH to SolrJ if you want to tweak on this level, see: https://lucidworks.com/2012/02/14/indexing-with-solrj/ One other alternative is to incorporate a ScriptUpdateProcessor in your update chain to intercept these on the way in to being indexed and "do

Re: Heap Memory Problem after Upgrading to 7.4.0

2018-09-06 Thread Erick Erickson
All: Let's move the rest of the conversation over to the JIRA Tomás raised, so we have a record of what's been attempted to track this. It would be great if Markus and Björn could add some environment info on the JIRA, in particular the version of Java you're both using and the op system etc...

Re: Solr 7.4 and log4j2 JSONLayout

2018-09-06 Thread Varun Thacker
Hi, Where did you add the jackson core and databind libs under? Maybe it's conflicting with the JARs that Solr already ships? Solr already comes with jackson dependencies server/solr-webapp/webapp/WEB-INF/lib/ | grep jackson jackson-annotations-2.9.5.jar jackson-core-2.9.5.jar

Re: Null Pointer Exception without details on Update in schemaless 7.4

2018-09-06 Thread Steve Rowe
Hi, Null handling in AddSchemaFieldsUpdateProcessorFactory has been added for Solr 7.5, see https://issues.apache.org/jira/browse/SOLR-12704 . -- Steve www.lucidworks.com > On Sep 6, 2018, at 1:11 AM, deniz wrote: > > server is also 7.4 > > and your assumption/check on null values on input

Solr 7.4 and log4j2 JSONLayout

2018-09-06 Thread Michael Aleythe, Sternwald
Hey, I'm trying to edit the log4j2 logging configuration for solr. The goal is to get a log file in json format. I configured the the JSONLayout for this purpose inside the rollingFile appender in the log4j2.xml. After this solr stops logging entirely. Solr.log file is empty. Only the

Re: Autoscaling with core properties

2018-09-06 Thread James Strassburg
Shalin, We actually found the ConfigAPI yesterday and started testing that with set-user-property. I should know today whether that will work or not and I will comment on this thread. I can open a Jira for the core props and replica props later today as well. JiM On Thu, Sep 6, 2018 at 12:37

Re: Streaming timeseries() and buckets with no docs

2018-09-06 Thread Jan Høydahl
Thanks! -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 6. sep. 2018 kl. 15:09 skrev Joel Bernstein : > > I found the ticket you created and commented on it. I'll work on this today. > > > Joel Bernstein > http://joelsolr.blogspot.com/ > > > On Thu, Sep 6, 2018

Re: Streaming timeseries() and buckets with no docs

2018-09-06 Thread Joel Bernstein
I found the ticket you created and commented on it. I'll work on this today. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Sep 6, 2018 at 9:04 AM Joel Bernstein wrote: > Ok, I'll create a ticket for this, it's a very quick fix. I'll try to > commit today. > > Joel Bernstein >

Re: Streaming timeseries() and buckets with no docs

2018-09-06 Thread Joel Bernstein
Ok, I'll create a ticket for this, it's a very quick fix. I'll try to commit today. Joel Bernstein http://joelsolr.blogspot.com/ On Thu, Sep 6, 2018 at 6:52 AM Jan Høydahl wrote: > Created https://issues.apache.org/jira/browse/SOLR-12749 > > -- > Jan Høydahl, search solution architect >

Re: Streaming timeseries() and buckets with no docs

2018-09-06 Thread Jan Høydahl
Created https://issues.apache.org/jira/browse/SOLR-12749 -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com > 5. sep. 2018 kl. 23:48 skrev Jan Høydahl : > > Checked git history for TimeSeriesStream on master, and I cannot see any > commits related to this? > >

RE: Heap Memory Problem after Upgrading to 7.4.0

2018-09-06 Thread Markus Jelsma
Thanks Tomás! Björn, can you reproduce the problem in a local and controlled environment? Markus -Original message- > From:Tomás Fernández Löbbe > Sent: Wednesday 5th September 2018 18:32 > To: solr-user@lucene.apache.org > Subject: Re: Heap Memory Problem after Upgrading to 7.4.0

Concurrent Update Client Stops on Exceptions Randomly v7.4

2018-09-06 Thread deniz
I am trying to write a wrapper for DIH, so i can leverage the field type guessing while importing the sql data. the query is supposed to retrieve 400K+ documents. in the test data in db, there are dirty date fields, which has data like '1966-00-00' or '1987-10-00' as well. I am running the