RE: solr cloud version upgrade 7.6 to 7.7 collection indexes all marked as down

2019-02-19 Thread Markus Jelsma
Hello, We just witnessed this too with 7.7. No no obvious messages in the logs, the replica status would not come out of 'down'. Meanwhile we got another weird exception from a neighbouring collection sharing the same nodes: 2019-02-18 13:47:20.622 ERROR (updateExecutor-3-thread-1-processing-

Re: only error logging in solr

2019-02-19 Thread Bernd Fehling
After looking into the source code there seams nothing in there for error logging together with the request which produced the error. I think there is a need for this to log the request along with the error. Could be done at o.a.s.core.SolrCore.execute() where the INFO logging is also located. A

RE: Re: Delayed/waiting requests

2019-02-19 Thread Gael Jourdan-Weil
Quick update just in case someone comes on this thread someday: we did lower the autowarm but it didn't have effect on the performance issues we are seeing. We are still investigating... Regards, Gaël De : Gael Jourdan-Weil Envoyé : mardi 15 janvier 2019 18:33 À

graph query parser: depth dependent score?

2019-02-19 Thread Jochen Barth
Dear reader, I'll have a hierarchical graph "like a book": { id:solr_doc1; title:book } { id:solr_doc2; title:chapter; parent_ids: solr_doc1 } { id:solr_doc3; title:subchapter; parent_ids: solr_doc2 } etc. Now to match all docs with "title" and "chapter" I could do: +_query_:"{!graph from=p

Newbie question - Error loading an existing config file

2019-02-19 Thread Greg Robinson
Hello, We have Solr 7.4 up and running on a Linux machine. I'm just trying to add a new core so that I can eventually point a Drupal site to the Solr Server for indexing. When attempting to add a core, I'm getting the following error: new_solr_core: org.apache.solr.common.SolrException:org.apac

Re: Newbie question - Error loading an existing config file

2019-02-19 Thread Erick Erickson
Are all the other files there in your conf dir? Solrconfig.xml references things like nanaged-schema etc. Also, your log file might contain more clues... On Tue, Feb 19, 2019, 08:03 Greg Robinson Hello, > > We have Solr 7.4 up and running on a Linux machine. > > I'm just trying to add a new core

Re: Newbie question - Error loading an existing config file

2019-02-19 Thread Greg Robinson
Hi Erick, Thanks for the quick response. Here is what is currently contained within the conf dir: drwxr-xr-x 2 root root 4096 Feb 18 17:51 lang -rw-r--r-- 1 root root 54513 Feb 18 17:51 managed-schema -rw-r--r-- 1 root root 329 Feb 18 17:51 params.json -rw-r--r-- 1 root root 894 Feb 18 17:

Re: UpdateHandler batch size / search solr-user

2019-02-19 Thread David '-1' Schmid
Hi! On 2019-02-18T20:36:35, Erick Erickson wrote: > Typically, people set their autocommit (hard) settings in > solrconfig.xml and forget about it. I usually use a time-based trigger > and don’t use documents as a trigger. I added a timed autoCommit and it seems to work out nicely. Thank you! > U

Atomic updates in streaming expressions?

2019-02-19 Thread Markus Kalkbrenner
Hi, Solr supports atomic updates as described at https://lucene.apache.org/solr/guide/7_6/updating-parts-of-documents.html#atomic-updates But I wonder how to create a streaming expression that does atomic updates. We want to search for documents matching a given criteria and update a particular

Re: Newbie question - Error loading an existing config file

2019-02-19 Thread Erick Erickson
do a recursive seach for “solr.log" under SOLR_HOME……. Best, ERick > On Feb 19, 2019, at 8:08 AM, Greg Robinson wrote: > > Hi Erick, > > Thanks for the quick response. > > Here is what is currently contained within the conf dir: > > drwxr-xr-x 2 root root 4096 Feb 18 17:51 lang > -rw-r--r-

Re: Newbie question - Error loading an existing config file

2019-02-19 Thread Greg Robinson
Thanks for your direction regarding the log. I was able to locate it and these two lines stood out: Caused by: org.apache.solr.common.SolrException: Could not load conf for core new_solr_core: Error loading solr config from /home/solr/server/solr/new_solr_core/conf/solrconfig.xml Caused by: org.

Re: UpdateHandler batch size / search solr-user

2019-02-19 Thread Erick Erickson
Sending batches in parallel is perfectly fine. _However_, if you’re updating the same document, there’s no guarantee which would win. Imagine you have two processes sending batches. The order of execution depends on way too many variables. If nothing else, if process 1 sends a document then some

Re: Newbie question - Error loading an existing config file

2019-02-19 Thread Erick Erickson
Hmmm, that’s not very helpful….. Don’t quite know what to say. There should be something more helpful in the logs. Hmmm, How did you create the core? Best, Erick > On Feb 19, 2019, at 1:29 PM, Greg Robinson wrote: > > Thanks for your direction regarding the log. > > I was able to locate it

Re: Newbie question - Error loading an existing config file

2019-02-19 Thread Greg Robinson
I used the front end admin (see attached) thanks On Tue, Feb 19, 2019 at 3:54 PM Erick Erickson wrote: > Hmmm, that’s not very helpful….. > > Don’t quite know what to say. There should be something more helpful > in the logs. > > Hmmm, How did you create the core? > > Best, > Erick > > > > On F

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-02-19 Thread Zheng Lin Edwin Yeo
Hi, We have tried with the following pattern ([ \t]*\r?\n){2,} and configuration: content ([ \t]*\r?\n){2,}

true However, the issue is still occurring. Anyone else is able to help? Regards, Edwin On Fri, 15 Feb 2019 at 11:47, Zheng Lin Edwin Yeo wrote: > Hi, > > For y

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-02-19 Thread Jörn Franke
Solr uses Java regex matching, so i doubt there is a bug - it would then be in the JDK. Try out in a regex online Tool that supports Java regex for your solution. I believe you want to have 2 regex process factories: One that deals with single \n and one that deals with more than one \n > Am 20

Re: RegexReplaceProcessorFactory pattern to detect multiple \n

2019-02-19 Thread Zheng Lin Edwin Yeo
Hi, Thanks for the reply. Do you know of any regex online tool that works correctly for Java regex? I tried to find some, but they are not working properly. Yes, our plan is to replace more than one \n with , and single \n with single . Regards, Edwin On Wed, 20 Feb 2019 at 14:59, Jörn Franke