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
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
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
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.
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
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
>
&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
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
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
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
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
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
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
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
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
"error-class",
"org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException",
"root-error-class",
"org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException"
],
"msg"
I posted name feature one by one and thus it works.
--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
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
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
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
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
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
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
.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
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
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
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?
>
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
-xml-fails-due-to-bad-request-tp4267878p4267990.html
Sent from the Solr - User mailing list archive at Nabble.com.
: 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
>
>
>
>
>
>
> --
> 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
.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.
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
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
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
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
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
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
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
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
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*
> > *
> > *
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:
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
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
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
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
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
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);
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.
t;if (stmt != null) {
>try {
> stmt.close();
>} catch (Exception e) {
>e.printStackTrace(
atch (Exception e) {
e.printStackTrace();
}
}
}
}
}
*StackTrace:*
Bad Request
request:
http://localhost:7001/solr/update?
: 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
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
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
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
: 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
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
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
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
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
60 matches
Mail list logo