Re: Migrating from Solr 6.X to Solr 7.X: "non legacy mode coreNodeName missing"

2017-10-30 Thread Erick Erickson
If at all possible you shouldn't run with legacyCloud=true. I was just mentioning that in order to see if that was the place to start looking, I could have been clearer. Let's back up a bit though. I just tried this creating a collection with 6.6.0, changing to 7.1.0 and I can add replicas just fi

Re: jetty access logs for monitoring

2017-10-30 Thread Otis Gospodnetić
Hi, I think Logagent has support for Solr logs. Aha, yes, it does: https://github.com/sematext/logagent-js/blob/master/patterns.yml (search for Solr). But if you are looking for Solr metrics monitoring, see Solr monitoring

Re: Failed to create collection SOLR 6.3 HDP 2.6.2

2017-10-30 Thread Dan Caulfield
Shawn Heisey-2 wrote > On 10/26/2017 10:29 AM, Dan Caulfield wrote: >> I'm creating a collection on a new cluster. There are six new Solr nodes >> using a HDP 2.6.2 cluster for storage. Has anyone seen similar errors? > >> ERROR: Failed to create collection 'maxis_clickstream' due to: >> {10.126

Re: Migrating from Solr 6.X to Solr 7.X: "non legacy mode coreNodeName missing"

2017-10-30 Thread Dave Seltzer
Thanks Erick, I've looked over the documentation. Quick follow-up question: What are the consequences of running with legacyCloud=true? Would I need to point a new Solr cluster at a new Zookeeper instance to avoid this? Many thanks! -Dave On Mon, Oct 30, 2017 at 1:36 PM, Erick Erickson wrote:

jetty access logs for monitoring

2017-10-30 Thread j.s.
hi my current problem is monitoring my solr instance. it would be best if i could get a jetty access log to appear. i think i can do this with the log4 interface, but i have not yet figured out the appropriate configuration changes. can someone direct me toward some information on this? i'm

Replica node down NullPointerException

2017-10-30 Thread Webster Homer
I have a Replica marked as down in Production, but the diagnostics as to why it's down are useless. All we see is a NullPointerException I see this error message in the log: 2017-10-30 14:17:39.008 ERROR (qtp472654579-39773) [ ] o.a.s.s.HttpSolrCall null:org.apache.solr.common.SolrException: SolrC

Re: Migrating from Solr 6.X to Solr 7.X: "non legacy mode coreNodeName missing"

2017-10-30 Thread Erick Erickson
empty clusterstate.json node. OK, you're on state format 2 (the modern one) so that's good. No need to MIGRATESTATE The admin UI>>cloud>>tree view should have a cluster.properties (IIRC the name correctly, it'll be fairly obvious). If you have no non-default values it'll be totally missing. It's a

RE: LTR feature extraction performance issues

2017-10-30 Thread Brian Yee
I'm still having this issue. Does anyone have LTR feature extraction successfully running and have cache inserts/hits? --Brian -Original Message- From: Brian Yee [mailto:b...@wayfair.com] Sent: Tuesday, October 24, 2017 12:14 PM To: solr-user@lucene.apache.org Subject: RE: LTR feature e

Re: mvn test failing

2017-10-30 Thread Steve Rowe
Hi Tariq, It’s difficult to tell what happened without seeing the logs from the failed test(s). (The commands you issued look fine.) -- Steve www.lucidworks.com > On Oct 29, 2017, at 1:48 AM, Tarique Anwer wrote: > > hi, > > I am new to Solr. > I am trying to build Solr from source code usi

[Parent] doc transformer

2017-10-30 Thread Aurélien MAZOYER
Hi, Is there in Solr a kind of [parent] doc transformer (like the [child] doc transformer) that can be used to embed parent’s fields in the response of a query that uses the block join children query parser? Thank you, Aurélien MAZOYER

Re: Migrating from Solr 6.X to Solr 7.X: "non legacy mode coreNodeName missing"

2017-10-30 Thread Dave Seltzer
> You may have to set legacyCloud=true in your cluster properties > Check your cluster properties (top level znode in ZooKeeper). How would I check this? Would it appear in the Solr Cloud interface, or do I have to query Zookeeper? > Or, try the MIGRATESTATEFORMAT collection API on your 6x collec

Re: Migrating from Solr 6.X to Solr 7.X: "non legacy mode coreNodeName missing"

2017-10-30 Thread Erick Erickson
You may have to set legacyCloud=true in your cluster properties. In the Solr reference guide (7.0) there's a section "Changes to Default Behaviors" that'll tell you a bit about that. Check your cluster properties (top level znode in ZooKeeper). Or, try the MIGRATESTATEFORMAT collection API on your

Migrating from Solr 6.X to Solr 7.X: "non legacy mode coreNodeName missing"

2017-10-30 Thread Dave Seltzer
I have a Solr collection with 1 shard and around 40 replicas hosted on Solr 6.6.0 I added a Solr 7.1 server to the cluster and then tried to add a replica (ADDREPLICA) onto the new server but got this message: > Error CREATEing SolrCore 'content_collection_20171013_shard1_replica37': non legacy m

Re: In which order are commitwithin delete/add executed?

2017-10-30 Thread David Svånå
Perfect! Thanks Erick. On Mon, Oct 30, 2017 at 3:57 PM, Erick Erickson wrote: > Solr executes the deletes and adds in the order they are received. > Commitwithin isn't relevant to the execution order. > > commitWithin just controls when the accumulated changes are flushed to > a new index segmen

Re: In which order are commitwithin delete/add executed?

2017-10-30 Thread Erick Erickson
Solr executes the deletes and adds in the order they are received. Commitwithin isn't relevant to the execution order. commitWithin just controls when the accumulated changes are flushed to a new index segment and is global, not per request. Let's say Solr gets a request with commitWithin. It sta

Re: Graph Traversal

2017-10-30 Thread Pratik Patel
You use this in query time. Since Streaming Expressions can be pipelined, the next stage/function of pipeline will work on the new tuples generated. On Mon, Oct 30, 2017 at 10:09 AM, Kojo wrote: > Do you store this new tuples, created by Streaming Expressions, in a new > Solr cloud collection? O

Re: Graph Traversal

2017-10-30 Thread Kojo
Do you store this new tuples, created by Streaming Expressions, in a new Solr cloud collection? Or just use this tuples in query time? 2017-10-30 11:00 GMT-02:00 Pratik Patel : > By including Cartesian function in Streaming Expression pipeline, you can > convert a tuple having one multivalued fie

Re: Graph Traversal

2017-10-30 Thread Pratik Patel
By including Cartesian function in Streaming Expression pipeline, you can convert a tuple having one multivalued field into multiple tuples where each tuple holds one value for the field which was originally multivalued. For example, if you have following document. { id: someID, fruits: [apple, o

Re: Graph Traversal

2017-10-30 Thread Kojo
Hi, just a question, I have no deep background on Solr, Graph etc. This solution looks like normalizing data like a m2m table in sql database, is it? 2017-10-29 21:51 GMT-02:00 Pratik Patel : > For now, you can probably use Cartesian function of Streaming Expressions > which Joel implemented to

In which order are commitwithin delete/add executed?

2017-10-30 Thread David Svånå
Hi, If I send multiple instructions /update with a bunch of deletes and adds, all having commitWithin specified, how can I make sure that the instructions are executed in the same order as I send them in? For example, if both a delete and an add is sent for the same ID, I want to be able to contr

Re: SolrCloud not able to view cloud page - Loading of "/solr/zookeeper?wt=json" failed (HTTP-Status 500)

2017-10-30 Thread Ere Maijala
On the Solr side there's at least https://issues.apache.org/jira/browse/SOLR-9818 which may cause trouble with the queue. I once had the core reload command in the admin UI add more than 200k entries to the overseer queue.. --Ere Shawn Heisey kirjoitti 25.10.2017 klo 15.57: On 10/24/2017 8:1