Re: Dependency log4j-slf4j-impl for solr-core:7.5.0 causing a number of build problems

2020-01-16 Thread David Smiley
Ultimately if you deduce the problem, file a JIRA issue and share it with me; I will look into it. I care about this matter too; I hate having to exclude logging dependencies on the consuming end. ~ David Smiley Apache Lucene/Solr Search Developer http://www.linkedin.com/in/davidwsmiley On

Re: Failed to connect to server

2020-01-16 Thread David Hastings
> 'Error: Solr core is loading' do you have any suggesters or anything configured that would get rebuilt? On Thu, Jan 16, 2020 at 3:41 PM rhys J wrote: > On Thu, Jan 16, 2020 at 3:27 PM Edward Ribeiro > wrote: > > > A regular update is a delete followed by an indexing of the document. So >

Re: Error while updating: java.lang.NumberFormatException: empty String

2020-01-16 Thread rhys J
On Thu, Jan 16, 2020 at 3:10 PM Edward Ribeiro wrote: > Hi, > > There is a status_code in the JSON snippet and it is going as a string with > single space. Maybe it is an integer? > > Best, > Edward > > Oh wow, yes you are right. When I adjusted the status_code to not be a space, it fixed

Re: Failed to connect to server

2020-01-16 Thread rhys J
On Thu, Jan 16, 2020 at 3:27 PM Edward Ribeiro wrote: > A regular update is a delete followed by an indexing of the document. So > technically both are indexes. :) If there's an atomic update ( > https://lucene.apache.org/solr/guide/8_4/updating-parts-of-documents.html > ), Solr would throw some

Re: SolrCloud upgrade concern

2020-01-16 Thread David Hastings
ha, im on that thread, didnt know they got stored on a site, thats good to know! -i stand by what i said in there. so i have nothing more to add On Thu, Jan 16, 2020 at 3:29 PM Arnold Bronley wrote: > Hi, > > I am trying to upgrade my system from Solr master-slave architecture to > SolrCloud

SolrCloud upgrade concern

2020-01-16 Thread Arnold Bronley
Hi, I am trying to upgrade my system from Solr master-slave architecture to SolrCloud architecture. Meanwhile, I stumbled upon this very negative post about SolrCloud. https://lucene.472066.n3.nabble.com/A-Last-Message-to-the-Solr-Users-td4452980.html Given that it is from one of the initial

Re: Failed to connect to server

2020-01-16 Thread Edward Ribeiro
A regular update is a delete followed by an indexing of the document. So technically both are indexes. :) If there's an atomic update ( https://lucene.apache.org/solr/guide/8_4/updating-parts-of-documents.html ), Solr would throw some sort of version conflict exception like {"error":{

Re: Error while updating: java.lang.NumberFormatException: empty String

2020-01-16 Thread Edward Ribeiro
Hi, There is a status_code in the JSON snippet and it is going as a string with single space. Maybe it is an integer? Best, Edward On Thu, Jan 16, 2020 at 2:06 PM rhys J wrote: > While updating my Solr core, I ran into a problem with this curl statement. > > When I looked up the error, the

Re: Coming back to search after some time... SOLR or Elastic for text search?

2020-01-16 Thread Nicolas Paris
> We have implemented the content ingestion and processing pipelines already > in python and SPARK, so most of the data will be pushed in using APIs. I use the spark-solr library in production and have looked at the ES equivalent and the solr connector looks much more advanced for both loading

Re: Solr issue with Sitecore 9.0.1

2020-01-16 Thread Jan Høydahl
You have to provide a lot more information in order to get help. Java version, solr version, solr config (env vars), much more logs than what you posted (something is crashing) Jan Høydahl > 16. jan. 2020 kl. 12:22 skrev Lakshmana Gudivada (AU) > : > > Hi Team, > > Recently I have

Error while updating: java.lang.NumberFormatException: empty String

2020-01-16 Thread rhys J
While updating my Solr core, I ran into a problem with this curl statement. When I looked up the error, the only reference I could find was that maybe a float was being added as null. So I changed all the float fields from 'null' to '0.00'. But I still get the error. Float fields as per the

Failed to connect to server

2020-01-16 Thread rhys J
I have noticed that if I am using curl to index a csv file *and* using curl thru a script to update the Solr cores, that I get the following error: curl: (7) Failed to connect to 10.40.10.14 port 8983: Connection refused Can I only index *or* update, but not do both? I am not running shards or

Re: Dependency log4j-slf4j-impl for solr-core:7.5.0 causing a number of build problems

2020-01-16 Thread Wolf, Chris (ELS-CON)
--- original message --- It looks to me as though solr-core is not the only artifact with that dependency. The first thing I would do is examine the output of 'mvn dependency:tree' to see what has dragged log4j-slf4j-impl in even when it is excluded from solr-core. --- end of original message

solr-diagnostics: utility for collecting info from the Solr installation

2020-01-16 Thread Radu Gheorghe
Hello Solr users :) We just published a small tool that collects diagnostics information: configs, logs, metrics API output, etc as well as system info (dmesg, netstat, top...). I thought others might find it interesting, so here's a short blog post that describes it:

Re: How do I add multiple values for same field with DIH script?

2020-01-16 Thread O. Klein
Yes, field is multivalued. I managed to add an array to the content_text field and comma separated values "foo,bar" eg. but not a " list" like normally you see with a multivalued field. -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: How do I add multiple values for same field with DIH script?

2020-01-16 Thread Edward Ribeiro
Hi, Are you sure content_text is a multivalued field (i.e., field definition has multiValued="true" in managed-schema)? Edward Em qui, 16 de jan de 2020 08:42, O. Klein escreveu: > row.put('content_text', "hello"); > row.put('content_text', "this is a test"); > return row; > > will only

Re: Dependency log4j-slf4j-impl for solr-core:7.5.0 causing a number of build problems

2020-01-16 Thread Mark H. Wood
On Thu, Jan 16, 2020 at 02:03:06AM +, Wolf, Chris (ELS-CON) wrote: [snip] > There are several issues: > > 1. I don’t want log4j-slf4j-impl at all > 2. Somehow the version of “log4j-slf4j-impl” being used for the build is > 2.7 rather then the expected 2.11.0 > 3. Due to the version

Re: How do I add multiple values for same field with DIH script?

2020-01-16 Thread Mikhail Khludnev
Hello. What about putting Arrays.asList("foo", "bar") ? On Thu, Jan 16, 2020 at 2:42 PM O. Klein wrote: > row.put('content_text', "hello"); > row.put('content_text', "this is a test"); > return row; > > will only return "this is a test" > > > > > -- > Sent from:

Re: Coming back to search after some time... SOLR or Elastic for text search?

2020-01-16 Thread Emir Arnautović
Hi Jan, Here is a blog post related to this topic: https://sematext.com/blog/solr-vs-elasticsearch-differences/ It also contains links to other resources that might help you make a decision. HTH, Emir -- Monitoring - Log Management

How do I add multiple values for same field with DIH script?

2020-01-16 Thread O. Klein
row.put('content_text', "hello"); row.put('content_text', "this is a test"); return row; will only return "this is a test" -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Solr issue with Sitecore 9.0.1

2020-01-16 Thread Lakshmana Gudivada (AU)
Hi Team, Recently I have installed Solr 6.6.2 in my local desktop along with Sitecore 9.0.1. I have installed https version of Solr using nssm 2.24 and trying to browse https://localhost:8983/Solr But unfortunately the web page throws the below error and solr.log file also has the same error.

Re: Update synonyms.txt file based on values in the database

2020-01-16 Thread Charlie Hull
Try looking into Managed Resources: https://lucene.apache.org/solr/guide/8_4/managed-resources.html Charlie On 15/01/2020 10:35, seeteshh wrote: How do I update the synonyms.txt file if the data is being fetched from a database say PostgreSQL since I wont be able to update the synonmys.txt

Re: Coming back to search after some time... SOLR or Elastic for text search?

2020-01-16 Thread Charlie Hull
On 15/01/2020 11:42, Dc Tech wrote: Thank you Jan and Charlie. I should say that in terms of posting to the community regarding Elastic vs Solr - this is probably the most civil and helpful community that I have been a part of - and your answers have only reinforced that notion !! Thank you