Re: Importing Large CSV File into Solr Cloud Fails with 400 Bad Request

2020-02-03 Thread Erick Erickson
I don’t quite know how TolerantUpdateProcessor works with importing CSV files, see: https://issues.apache.org/jira/browse/SOLR-445. That is about sending batches of docs to Solr and frankly I don’t know what path your process will take. It’s worth a try though. Otherwise, I typically go with SolrJ

Re: Importing Large CSV File into Solr Cloud Fails with 400 Bad Request

2020-02-03 Thread Joseph Lorenzini
Hi Shawn/Erick, This information has been very helpful. Thank you. So I did some more investigation into our ETL process and I verified that with the exception of the text I sent above they are all obviously invalid dates. For example, one field value had 00 for a day so would guess that field ha

Re: Importing Large CSV File into Solr Cloud Fails with 400 Bad Request

2020-02-02 Thread Shawn Heisey
On 2/2/2020 8:47 AM, Joseph Lorenzini wrote: 1000 1 That autoSoftCommit setting is far too aggressive, especially for bulk indexing. I don't know whether it's causing the specific problem you're asking about here, but it's still a setting tha

Re: Importing Large CSV File into Solr Cloud Fails with 400 Bad Request

2020-02-02 Thread Erick Erickson
0, at 9:32 AM, Joseph Lorenzini wrote: >>> >>> Hi all, >>> >>> I have three node solr cloud cluster. The collection has a single shard. >> I >>> am importing 140 GB CSV file into solr using curl with a URL that looks >>> roughly like this.

Re: Importing Large CSV File into Solr Cloud Fails with 400 Bad Request

2020-02-02 Thread Joseph Lorenzini
a URL that looks > > roughly like this. I am streaming the file from disk for performance > > reasons. > > > > > http://localhost:8983/solr/example/update?separator=%09&stream.file=/tmp/input.tsv&stream.contentType=text/csv;charset=utf-8&commit=true&f.note.spl

Re: Importing Large CSV File into Solr Cloud Fails with 400 Bad Request

2020-02-02 Thread Erick Erickson
o solr at which point solr hangs and then several > minutes later returns a 400 bad request back to curl. I looked in the logs > and I did find a handful of exceptions (e.g invalid date, docvalues field > is too large etc) for particular records but nothing that would explain why >

Importing Large CSV File into Solr Cloud Fails with 400 Bad Request

2020-02-02 Thread Joseph Lorenzini
&stream.file=/tmp/input.tsv&stream.contentType=text/csv;charset=utf-8&commit=true&f.note.split=true&f.note.separator=%7C There are 139 million records in that file. I am able to import about 800,000 records into solr at which point solr hangs and then several minutes later returns a 400

Re: Re:Learning to rank - Bad Request

2019-12-05 Thread walia4
I am using SOLR 8.2.0 Cloud mode... but when i start with *-Dsolr.ltr.enabled=true* it shows me the error *techproducts_shard1_replica_n2: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Failed to create new ManagedResource /schema/model-store of type org.apache.solr.lt

Re: Learning to rank - Bad Request

2018-07-16 Thread Diego Ceccarelli (BLOOMBERG/ LONDON)
t: Re: Learning to rank - Bad Request Hi, I am using apache solr 7.4.0. I am trying to use learning to rank using the python script and related data provided by the lucene. which can be found at the Github <https://github.com/apache/lucene-solr/tree/releases/lucene-solr/6.4.0/solr/contrib/ltr

Re: Learning to rank - Bad Request

2018-07-16 Thread akshaypatil
e solr. I am using the standard core "techproducts" I didnt change the configuration data and thus it shows the error of bad request while uploading the model to the solr. It shows the error of empty request body :- "unknown source" please suggest me how to overcome the erro

Re: Bad request from solr by just changing the order in the filter query

2018-04-07 Thread Shawn Heisey
On 4/7/2018 1:54 PM, Elier Delgado wrote: Thanks Shawn, your query works but the facet counters became inconsistent. What *exactly* was wrong?  Is it possible that it was working the way it was designed to work, but different than you expected?  If you really think what you're getting is wron

Re: Bad request from solr by just changing the order in the filter query

2018-04-07 Thread Elier Delgado
MAIN}domains:100 >> >> If I just change the order in the fq parameter, solr response with 400 Bad >> Request. >> >> &json.facet={domains:{type:terms,field:domains,domain:{exclu >> deTags:DOMAIN}},specialties:{type:terms,field:specialties,do >> main:{excl

Re: Bad request from solr by just changing the order in the filter query

2018-03-31 Thread Shawn Heisey
udeTags:DOMAIN}},specialties:{type:terms,field:specialties,domain:{excludeTags:SPECIALTY}}} &fq={!tag=SPECIALTY}specialties:(1043 1023) AND {!tag=DOMAIN}domains:100 If I just change the order in the fq parameter, solr response with 400 Bad Request. &json.facet={domains:{type:term

Bad request from solr by just changing the order in the filter query

2018-03-31 Thread Elier Delgado
ialties,domain:{excludeTags:SPECIALTY}}} &fq={!tag=SPECIALTY}specialties:(1043 1023) AND {!tag=DOMAIN}domains:100 If I just change the order in the fq parameter, solr response with 400 Bad Request. &json.facet={domains:{type:terms,field:domains,domain:{excludeTags:DOMAIN}},specialties:{type:t

Re: Learning to rank - Bad Request

2018-03-04 Thread kusha.pande
Hi Vincent, Can you please elaborate more when u say u posted 'posted name feature one by one' ? I am getting the same error when i am trying to upload features for any other collection other than techproducts. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

[Solr 6.6 w/SolrCloud]: Subqueries - Solr returning a 400 status code, Bad Request when attempting to use the [subquery] transformer

2017-10-12 Thread Damien Hawes
"error-class", "org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException", "root-error-class", "org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException" ], "msg"

Re: Learning to rank - Bad Request

2017-10-09 Thread sophia250
I posted name feature one by one and thus it works. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Learning to rank - Bad Request

2017-10-09 Thread sophia250
What missing steps did you fix to solve the issue? i am facing exactly the same as you had before -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Learning to rank - Bad Request

2017-10-03 Thread woodthom
Hi, please could you post the relevant config steps? I am able to get the techproducts example working from here: https://github.com/apache/lucene-solr/tree/master/solr/contrib/ltr/example but if I change to another index I get the error "No REST managed resource registered for path /schema/fea

Re: Learning to rank - Bad Request

2017-03-07 Thread Vincent
tr/example/README.md) I ran the example python script to train and upload the model, but I already get an error during the uploading of the features: Bad Request (400) - Expected Map to create a new ManagedResource but received a java.util.ArrayList at org.apache.s

Re: Learning to rank - Bad Request

2017-03-07 Thread Vincent
ing the uploading of the features: Bad Request (400) - Expected Map to create a new ManagedResource but received a java.util.ArrayList at org.apache.solr.rest.RestManager$RestManagerManagedResource.doPut(RestManager.java:523) at org.apache.solr.rest.ManagedResource.doPost(ManagedResourc

Re:Learning to rank - Bad Request

2017-03-06 Thread Christine Poerschke (BLOOMBERG/ LONDON)
r own search index. Following the LTR-readme (https://github.com/bloomberg/lucene-solr/blob/master-ltr/solr/contrib/ltr/example/README.md) I ran the example python script to train and upload the model, but I already get an error during the uploading of the features: Bad Request (400) - Expected M

Learning to rank - Bad Request

2017-03-06 Thread Vincent
error during the uploading of the features: Bad Request (400) - Expected Map to create a new ManagedResource but received a java.util.ArrayList at org.apache.solr.rest.RestManager$RestManagerManagedResource.doPut(RestManager.java:523) at org.apache.solr.rest.ManagedResource.d

Re: Why error #400 bad request somtimes where I add doc to Solrcloud collection? [scottchu]

2016-05-19 Thread scott.chu
.chu,scott@udngroup.com 2016/5/20 (週五) - Original Message - From: scott(自己) To: solr-user CC: Date: 2016/5/18 (週三) 13:37 Subject: Why error #400 bad request somtimes where I add doc to Solrcloud collection? [scottchu] I add doc by running post.jar with xml files but sometimes

Why error #400 bad request somtimes where I add doc to Solrcloud collection? [scottchu]

2016-05-17 Thread scott.chu
I add doc by running post.jar with xml files but sometimes get error #400(Bad Request). At first, I doubt the xml files has problem but after I stop nodes and restart them. I add same doc again and it's successful. According post.jar output below, though NMLBOym_a_UN2004_07_20160511_101

DIH error - Bad Request

2016-04-14 Thread Brian Narsi
out the following: DistributedUpdateProcessor Error sending update to http://ip/solr org.apache.solr.common.SolrException: Bad Request StreamingSolrClients error org.apache.solr.common.SolrException: Bad Request request: http://ip:7574/solr/collection_shard2_replica1/update?update.distrib=TOLEADER

Re: Bad Request

2016-04-12 Thread Erick Erickson
ng, no disk or CPU issues. > > This occurred during updates. > > The server since recovered after a reboot. > > Upon trying to update the index again, I'm now getting constant Bad > Requests. > > Does anyone know what the issue could be, and/or how to resolve it? >

Bad Request

2016-04-12 Thread Robert Brown
tting constant Bad Requests. Does anyone know what the issue could be, and/or how to resolve it? org.apache.solr.common.SolrException: Bad Request request: http://hostname:8983/solr/de_shard1_replica1/update?update.distrib=TOLEADER&distrib.from=http%3A%2F%2Fhostname%3A8983%2Fsolr%2Fde_shard2

Re: Tutorial example loading of exampledocs for *.xml fails due to bad request

2016-04-04 Thread onixterry
-xml-fails-due-to-bad-request-tp4267878p4267990.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Tutorial example loading of exampledocs for *.xml fails due to bad request

2016-04-04 Thread Chris Hostetter
: When I attempt the second example, of loading the *.xml files, I receive an : error back. I tried just one of the XMLs and receive the same error. Yeah ... there's a poor assumption here in the tutorial. note in particular this paragraph... --SNIP-- Solr's install includes a handful of So

Re: Tutorial example loading of exampledocs for *.xml fails due to bad request

2016-04-04 Thread Binoy Dalal
> > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Tutorial-example-loading-of-exampledocs-for-xml-fails-due-to-bad-request-tp4267878p4267881.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Regards, Binoy Dalal

Re: Tutorial example loading of exampledocs for *.xml fails due to bad request

2016-04-04 Thread onixterry
.nabble.com/Tutorial-example-loading-of-exampledocs-for-xml-fails-due-to-bad-request-tp4267878p4267881.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Tutorial example loading of exampledocs for *.xml fails due to bad request

2016-04-04 Thread Binoy Dalal
t; xml,json,jsonl,csv,pdf,doc,docx,ppt,pptx,xls,xlsx,odt,odp,ods,ott,otp,ots,rtf,htm,html,txt,log > POSTing file gb18030-example.xml (application/xml) to [base] > SimplePostTool: WARNING: Solr returned an error #400 (Bad Request) for url: > http://localhost:8983/solr/gettingstarted/u

Tutorial example loading of exampledocs for *.xml fails due to bad request

2016-04-04 Thread onixterry
r returned an error #400 (Bad Request) for url: http://localhost:8983/solr/gettingstarted/update SimplePostTool: WARNING: Response: 4008org.apache.solr.common.SolrExceptionjava.lang.NumberFormatExceptionorg.apache.solr.common.SolrExceptionorg.apache.solr.common.SolrExceptionBad Request request: ht

Re: Solr Exception "The remote server returned an error: (400) Bad Request."

2015-05-08 Thread Tomasz Borek
5 HTTP/1.1 User-Agent: Wget/1.15 (linux-gnu) Accept: */* Host: 10.0.3.113:8080 Connection: Keep-Alive ---request end--- Żądanie HTTP wysłano, oczekiwanie na odpowiedź... ---response begin--- HTTP/1.1 400 Bad Request Server: Apache-Coyote/1.1 Cache-Control: no-cache, no-store Pragma: no-cache Expire

Re: Solr Exception "The remote server returned an error: (400) Bad Request."

2015-05-05 Thread marotosg
080/solr48/person/select?q=CoreD:25I get ERROR:400 Bad Request.Is any reason why I am not getting same error?Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Exception-The-remote-server-returned-an-error-400-Bad-Request-tp4203889p4203949.html Sent from the Solr - Us

Re: Solr Exception "The remote server returned an error: (400) Bad Request."

2015-05-05 Thread Tomasz Borek
ow of. pozdrawiam, LAFK 2015-05-05 10:39 GMT+02:00 marotosg : > Hi, > > I am having some difficulties knowing which one is the exception I am > having > on my client for some queries. Queries malformed are always coming back to > my solrNet client as "The remote server returned a

Solr Exception "The remote server returned an error: (400) Bad Request."

2015-05-05 Thread marotosg
Hi, I am having some difficulties knowing which one is the exception I am having on my client for some queries. Queries malformed are always coming back to my solrNet client as "The remote server returned an error: (400) Bad Request.". Internally Solr is actually printing the log i

Re: Bad request on update.distrib=FROMLEADER

2014-04-07 Thread Cihad Guzel
Hi, Have all of your nodes the same configuration? 2014-04-07 12:45 GMT+03:00 Gastone Penzo : > Hello, > i have a problem of bad request during indexing data. > I have for nodes with solr cloud. The architecture is this: > > 10.0.0.86 10.0.0.87 > NOD

Bad request on update.distrib=FROMLEADER

2014-04-07 Thread Gastone Penzo
Hello, i have a problem of bad request during indexing data. I have for nodes with solr cloud. The architecture is this: 10.0.0.86 10.0.0.87 NODE1 NODE 2 | | | | | | | | NODE 3

Re: SimplePostTool: FATAL: Solr returned an error #400 Bad Request

2013-07-31 Thread Vineet Mishra
ostFile(file) method and committing it there after. > > > > This all process is Multithreaded and works fine till 1 Million of data > > record but there after it suddenly stops saying, > > > > *SimplePostTool: FATAL: Solr returned an error #400 Bad Request* > > * > > *

Re: SimplePostTool: FATAL: Solr returned an error #400 Bad Request

2013-07-31 Thread Erick Erickson
am posting the Data to Solr through SimplePostTool by passing a > xml file in spt.postFile(file) method and committing it there after. > > This all process is Multithreaded and works fine till 1 Million of data > record but there after it suddenly stops saying, > > *SimplePostTool:

SimplePostTool: FATAL: Solr returned an error #400 Bad Request

2013-07-31 Thread Vineet Mishra
suddenly stops saying, *SimplePostTool: FATAL: Solr returned an error #400 Bad Request* * * in the Tomcat Catalina I found *WARNING: Failed to register info bean: searcher* *javax.management.InstanceAlreadyExistsException: solr/:type=searcher,id=org.apache.solr.search.SolrIndexSearcher* * at

Error in SolrNet:The remote server returned an error: (400) Bad Request

2012-09-26 Thread mihirhapaliya
Hi Everyone I am using SolNet Api for using Solr in my .Net project.When I am trying to index the data solr throws an *Error:The remote server returned an error: (400) Bad Request.* /* Stacktrace */ at SolrNet.Impl.SolrConnection.Post(String relativeUrl, String s) in c:\prg\SolrNet\svn\SolrNet

Re: Bad Request (Solr + Weblogic + Oracle DB)

2012-02-02 Thread Erick Erickson
e? > > I guess that's the problem with learning new stuff, stupid mistakes like > that! > > By the way, I'm using solr 3.5 and my code is working fine. > > Thanks again, > > rzoao > > -- > View this message in context: > http://lucene.472066.n3.nab

Re: Bad Request (Solr + Weblogic + Oracle DB)

2012-02-02 Thread rzoao
a new scheme.xml to try my code? I guess that's the problem with learning new stuff, stupid mistakes like that! By the way, I'm using solr 3.5 and my code is working fine. Thanks again, rzoao -- View this message in context: http://lucene.472066.n3.nabble.com/Bad-Request-Solr-Web

Re: Bad Request (Solr + Weblogic + Oracle DB)

2012-02-02 Thread Erick Erickson
I just tried your code in 3.x (with no DB connection) and it works fine, so it looks like something in your environment Longer term, it's a bad idea to commit (or even update) single documents, you can use the add(Collection wrote: > Hi rzao! > > I think this is the problem: > > > On 02.02.201

Re: Bad Request (Solr + Weblogic + Oracle DB)

2012-02-02 Thread Michael Kuhlmann
Hi rzao! I think this is the problem: On 02.02.2012 13:59, rzoao wrote: UpdateRequest req = new UpdateRequest(); req.setAction(AbstractUpdateRequest.ACTION.COMMIT, false, false);

Re: Bad Request (Solr + Weblogic + Oracle DB)

2012-02-02 Thread rzoao
Hey Preetesh Dubey, thanks for you help, I tried it that way and I'm getting the same error over here: Bad Request I'm wondering if it's not my schema.xml ... or something else that I don't know. Joao -- View this message in context: http://lucene.472066.n3.nabble.

Re: Bad Request (Solr + Weblogic + Oracle DB)

2012-02-02 Thread preetesh dubey
t;if (stmt != null) { >try { > stmt.close(); >} catch (Exception e) { >e.printStackTrace(

Bad Request (Solr + Weblogic + Oracle DB)

2012-02-02 Thread rzoao
atch (Exception e) { e.printStackTrace(); } } } } } *StackTrace:* Bad Request request: http://localhost:7001/solr/update?

Re: Bad Request accessing solr on linux

2011-10-03 Thread Chris Hostetter
: Below is the error: : : Bad Request we need a lot more to go on then that. what errors are you seeing in the logs? what do your configs look like? etc... https://wiki.apache.org/solr/UsingMailingLists -Hoss

Bad Request accessing solr on linux

2011-09-22 Thread Kissue Kissue
Hi, I am using solr 3.3 running on a linux box. For some reason when i make a request to solr on my windows box, i do not get bad request error but when i run it on my linux box, i get bad request. On the linux box, i have both my application and solr deployed on the same tomcat instance. Below

Re: SolrJ Question about Bad Request Root cause error

2011-01-11 Thread Savvas-Andreas Moysidis
t (v 1.4.1) to integrate with our solr search > server. > We notice that whenever SolrJ request does not match with Solr schema, we > get Bad Request exception which makes sense. > > org.apache.solr.common.SolrException: Bad Request > > But, SolrJ Client does not provide any clu

SolrJ Question about Bad Request Root cause error

2011-01-11 Thread roz dev
Hi All We are using SolrJ client (v 1.4.1) to integrate with our solr search server. We notice that whenever SolrJ request does not match with Solr schema, we get Bad Request exception which makes sense. org.apache.solr.common.SolrException: Bad Request But, SolrJ Client does not provide any

SolrException: Bad Request

2010-09-28 Thread Pavel Minchenkov
: Bad Request Bad Request request: http://127.0.0.1/solr/select?q=кофе<http://127.0.0.1/solr/select?q=%D0%BA%D0%BE%D1%84%D0%B5>&fq=lat:[55.16728264288879 TO 56.437558186276114] AND lng:[36.47475305185914 TO 38.735977228049315]&spellcheck=true&spellcheck.count=1&spellcheck.col

RE: Solrj: Multivalued fields give Bad Request

2008-12-15 Thread Schilperoort , René
From: Ryan McKinley [mailto:ryan...@gmail.com] Sent: maandag 15 december 2008 17:28 To: solr-user@lucene.apache.org Subject: Re: Solrj: Multivalued fields give Bad Request What do you see in the admin schema browser? /admin/schema.jsp When you select the field "names", do

Re: Solrj: Multivalued fields give Bad Request

2008-12-15 Thread Ryan McKinley
Message- From: Schilperoort, René [mailto:rene.schilpero...@getronics.com] Sent: maandag 15 december 2008 16:52 To: solr-user@lucene.apache.org Subject: Solrj: Multivalued fields give Bad Request Hi all, When adding documents to Solr using solr I receive the following Exception. org.apache.solr

RE: Solrj: Multivalued fields give Bad Request

2008-12-15 Thread Schilperoort , René
ent only contains one value in the names field. -Original Message- From: Schilperoort, René [mailto:rene.schilpero...@getronics.com] Sent: maandag 15 december 2008 16:52 To: solr-user@lucene.apache.org Subject: Solrj: Multivalued fields give Bad Request Hi all, When adding documents to

Solrj: Multivalued fields give Bad Request

2008-12-15 Thread Schilperoort , René
Hi all, When adding documents to Solr using solr I receive the following Exception. org.apache.solr.common.SolrException: Bad Request The field is "configured" as followed: Any suggestions? Regards, Rene