[solr-index-update] solr update Is there a "literal.field_name" feature in json?

2018-12-16 Thread 유정인
Hello, The solr update's csv has a "literal.field_name" function. Does json have a similar function? No function found. Thank you.

Re: Solr Update

2018-06-28 Thread Shawn Heisey
On 6/27/2018 10:00 AM, Goston IV, Stanley W wrote: > I was wondering if it is possible to do a solr update by doing something like > the following: > > JSON: > > { > "add":{ > "doc":{ > "id_txt":"_query_:{q=titl

Solr Update

2018-06-27 Thread Goston IV, Stanley W
All, I was wondering if it is possible to do a solr update by doing something like the following: JSON: { "add":{ "doc":{ "id_txt":"_query_:{q=title_txt:test.jpg fl=id_txt}", "title_txt": {"set":"Maybe

RE: Solr update failing on remote server but works locally??

2017-09-24 Thread Phil Scadden
C for field". Beats me what it expects for values in document.addField(...), but changing the field type from Long to Int fixed it. -Original Message- From: Phil Scadden [mailto:p.scad...@gns.cri.nz] Sent: Sunday, 24 September 2017 4:35 p.m. To: solr-user@lucene.apache.org Subject: S

Solr update failing on remote server but works locally??

2017-09-23 Thread Phil Scadden
I am attempted to redo an index job. The delete query worked fine but on reindex, I get this: 09:42:51,061 ERROR ConcurrentUpdateSolrClient:463 - error org.apache.solr.common.SolrException: Bad Request request: http://online-uat:8983/solr/prindex/update?wt=javabin&version=2 at

RE: Got a 404 trying to update a solr. 6.5.1 server. /solr/update not found.

2017-06-06 Thread Phil Scadden
Duh! Thanks for that. -Original Message- From: tflo...@apple.com [mailto:tflo...@apple.com] Sent: Tuesday, 6 June 2017 4:25 p.m. To: solr-user@lucene.apache.org Subject: Re: Got a 404 trying to update a solr. 6.5.1 server. /solr/update not found. I think you are missing the collection

Re: Got a 404 trying to update a solr. 6.5.1 server. /solr/update not found.

2017-06-05 Thread Tomas Fernandez Lobbe
G wire:72 - << "[\n]" > 15:53:36,695 DEBUG wire:72 - << "HTTP ERROR 404[\n]" > 15:53:36,696 DEBUG wire:72 - << "Problem accessing /solr/update. > Reason:[\n]" > 15:53:36,696 DEBUG wire:72 - << "Not Found[\n]" > 15:5

Got a 404 trying to update a solr. 6.5.1 server. /solr/update not found.

2017-06-05 Thread Phil Scadden
uot; 15:53:36,695 DEBUG wire:72 - << "[\n]" 15:53:36,695 DEBUG wire:72 - << "HTTP ERROR 404[\n]" 15:53:36,696 DEBUG wire:72 - << "Problem accessing /solr/update. Reason:[\n]" 15:53:36,696 DEBUG wire:72 - << "Not Found[\n]" 15

Re: Solr Update If Record Exists ?

2017-03-13 Thread alessandro.benedetti
way, would be better to use a different field for your own logic. Cheers - --- Alessandro Benedetti Search Consultant, R&D Software Engineer, Director Sease Ltd. - www.sease.io -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Update-If-Record-Exists-

Re: Solr Update If Record Exists ?

2017-03-09 Thread Alexandre Rafalovitch
0 > > So can i use it ? > > > > > -- > View this message in context: http://lucene.472066.n3. > nabble.com/Solr-Update-If-Record-Exists-tp4323767p4324152.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Solr Update If Record Exists ?

2017-03-09 Thread ~$alpha`
My version is timestamp. 1561379927065886720 So can i use it ? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Update-If-Record-Exists-tp4323767p4324152.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Update If Record Exists ?

2017-03-07 Thread Alexandre Rafalovitch
slightly more complicated as there will be rejections/exceptions generated. Perhaps, it can be combined with TollerantUpdate URP: http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/update/processor/TolerantUpdateProcessorFactory.html Regards, Alex. P.s. SOLR-9530 may also be interesting

Solr Update If Record Exists ?

2017-03-07 Thread ~$alpha`
=1 and online=1 which is not desired. So question is, is it possible that so updates the value only if the record is present in the solr. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Update-If-Record-Exists-tp4323767.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr update/csv

2016-06-19 Thread Upayavira
ntent, then the best way is probably an > UpdateRequestProcessor chain that allows to provide a default value: > http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/update/processor/DefaultValueUpdateProcessorFactory.html > . (usually combined with > http://www.solr-start.com/j

Re: Solr update/csv

2016-06-19 Thread Alexandre Rafalovitch
ted in CSV. If you are talking about default values which may or may not overriden by CSV content, then the best way is probably an UpdateRequestProcessor chain that allows to provide a default value: http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/update

Solr update/csv

2016-06-19 Thread ovosh
can add some default value for each row? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-update-csv-tp4283168.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr update fails with “Could not initialize class sun.nio.fs.LinuxNativeDispatcher”

2016-04-07 Thread David Moles
o >indicate definitively that you are using a spinning disk (or not) but let >it pick the appropriate default values for the merge count & >threads accordingly ... > > > true > > > > >: Date: Thu, 7 Apr 2016 22:56:54 + >: From: Dav

Re: Solr update fails with “Could not initialize class sun.nio.fs.LinuxNativeDispatcher”

2016-04-07 Thread Chris Hostetter
lues for the merge count & threads accordingly ... true : Date: Thu, 7 Apr 2016 22:56:54 + : From: David Moles : Reply-To: solr-user@lucene.apache.org : To: "solr-user@lucene.apache.org" : Subject: Solr update fails with “Could not initialize class :

Solr update fails with “Could not initialize class sun.nio.fs.LinuxNativeDispatcher”

2016-04-07 Thread David Moles
Hi folks, New Solr user here, attempting to apply the following Solr update command via curl curl 'my-solr-server:8983/solr/my-core/update?commit=true' \ -H 'Content-type:application/json' -d \ '[{"my_id_field":"some-id-value","my_other_f

Re: solr update dynamic field generates multiValued error

2015-09-21 Thread Aman Tandon
>> > > > EN7800GTX/2DHTV/256M > > > > >> > > > > > > > >> > > > eoe changed this > > > > >> puppy > > > > >> > > > > > > > >> > > > > > > > >

Re: solr update dynamic field generates multiValued error

2015-09-21 Thread Upayavira
t; > > > > >> > > > > > > >> > > > I'm not getting any multiple values in the _coordinate fields. > > > >> However, I > > > >> > > > _do_ get the error if my dynamic *_coordinate field is set to > &

Re: solr update dynamic field generates multiValued error

2015-09-21 Thread Aman Tandon
> > > > > >> > > > I'm not getting any multiple values in the _coordinate fields. > > >> However, I > > >> > > > _do_ get the error if my dynamic *_coordinate field is set to > > >> > > > stored="true". > > >> > > >

Re: solr update dynamic field generates multiValued error

2015-09-21 Thread Upayavira
7;rm -rf solr/collection/data' just to be sure I've purged all > >> > > traces > >> > > > of the former schema definition. > >> > > > > >> > > > Best, > >> > > > Erick > >> > > > >

Re: solr update dynamic field generates multiValued error

2015-09-21 Thread Aman Tandon
t; > >> > > > Best, >> > > > Erick >> > > > >> > > > >> > > > On Mon, Aug 4, 2014 at 7:04 PM, Franco Giacosa >> > > wrote: >> > > > >> > > > > No, they are not declarad explicitly

Re: solr update dynamic field generates multiValued error

2015-09-21 Thread Aman Tandon
t; > > > stored="true"/> > > > > > > > > > > > > > > stored="false"/> > > > > > > > > > > > > > > subFieldSuffix="_coordinate"/> > > > > > > > >

Re: solr update dynamic field generates multiValued error

2015-09-21 Thread Upayavira
gt; > > > > > > > > > > stored="false"/> > > > > > > > > > > > subFieldSuffix="_coordinate"/> > > > > > > > > > > > > > > > > > > > > 2014-08-04 22:28 GMT-0

Re: solr update dynamic field generates multiValued error

2015-09-21 Thread Aman Tandon
; > > > > > > > > > > > > > > 2014-08-04 22:28 GMT-03:00 Michael Ryan : > > > > > > > Are the latLong_0_coordinate and latLong_1_coordinate fields > populated > > > > using copyField? If so, this sounds like it could be &g

Re: solr update dynamic field generates multiValued error

2014-08-05 Thread Franco Giacosa
? If so, this sounds like it could be > > > https://issues.apache.org/jira/browse/SOLR-3502. > > > > > > -Michael > > > > > > -Original Message- > > > From: Franco Giacosa [mailto:fgiac...@gmail.com] > > > Sent: Monday, August 04

Re: solr update dynamic field generates multiValued error

2014-08-04 Thread Erick Erickson
l > > > > -Original Message- > > From: Franco Giacosa [mailto:fgiac...@gmail.com] > > Sent: Monday, August 04, 2014 9:05 PM > > To: solr-user@lucene.apache.org > > Subject: solr update dynamic field generates multiValued error > > > > Hello every

Re: solr update dynamic field generates multiValued error

2014-08-04 Thread Franco Giacosa
owse/SOLR-3502. > > -Michael > > -Original Message- > From: Franco Giacosa [mailto:fgiac...@gmail.com] > Sent: Monday, August 04, 2014 9:05 PM > To: solr-user@lucene.apache.org > Subject: solr update dynamic field generates multiValued error > > Hello everyone, t

RE: solr update dynamic field generates multiValued error

2014-08-04 Thread Michael Ryan
PM To: solr-user@lucene.apache.org Subject: solr update dynamic field generates multiValued error Hello everyone, this is my first time posting a question, so forgive me if i'm missing something. This is my problem: I have a schema.xml that has the following latLong information The dynamic

solr update dynamic field generates multiValued error

2014-08-04 Thread Franco Giacosa
Hello everyone, this is my first time posting a question, so forgive me if i'm missing something. This is my problem: I have a schema.xml that has the following latLong information The dynamicField generates 2 dynamic fields that have the lat and the long (latLong_0_coordinate and latLong_1_coor

Re: commit=false in Solr update URL

2014-03-29 Thread Erick Erickson
t; Sent: Friday, March 28, 2014 3:14 PM > To: solr-user@lucene.apache.org > Subject: Re: commit=false in Solr update URL > > On 3/28/2014 1:02 PM, Joshi, Shital wrote: >> You mean default for openSearcher is false right? So unless I specify >> commit=false&openSear

RE: commit=false in Solr update URL

2014-03-28 Thread Joshi, Shital
Thank you! -Original Message- From: Shawn Heisey [mailto:s...@elyograg.org] Sent: Friday, March 28, 2014 3:14 PM To: solr-user@lucene.apache.org Subject: Re: commit=false in Solr update URL On 3/28/2014 1:02 PM, Joshi, Shital wrote: > You mean default for openSearcher is false right?

Re: commit=false in Solr update URL

2014-03-28 Thread Shawn Heisey
On 3/28/2014 1:02 PM, Joshi, Shital wrote: You mean default for openSearcher is false right? So unless I specify commit=false&openSearcher=true in my Solr Update URL the current searcher and caches will not get invalidated. If commit=false, openSearcher does not matter -- it's

RE: commit=false in Solr update URL

2014-03-28 Thread Joshi, Shital
Thanks. You mean default for openSearcher is false right? So unless I specify commit=false&openSearcher=true in my Solr Update URL the current searcher and caches will not get invalidated. -Original Message- From: Shawn Heisey [mailto:s...@elyograg.org] Sent: Friday, March 28,

Re: commit=false in Solr update URL

2014-03-28 Thread Shawn Heisey
On 3/28/2014 10:22 AM, Joshi, Shital wrote: What happens when we use commit=false in Solr update URL? http://$solr_url/solr/$solr_core/update/csv?commit=false&separator=|&trim=true&skipLines=2&_shard_=$shardid 1. Does it invalidate all caches? We really need to know this.

commit=false in Solr update URL

2014-03-28 Thread Joshi, Shital
Hi, What happens when we use commit=false in Solr update URL? http://$solr_url/solr/$solr_core/update/csv?commit=false&separator=|&trim=true&skipLines=2&_shard_=$shardid 1. Does it invalidate all caches? We really need to know this. 2. Nothing happens to existing s

Re: Solr update document issue

2013-12-26 Thread mohammad
.4.0. my schema document : my java code to test this senario is as follow: //TestingSolrUpdateDoc.java //SolrConnection .java Best Thanks, Mohammad yaseen -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-update-document-issue-tp4108214p4108215.html Sent from the Solr -

Solr update document issue

2013-12-26 Thread mohammad
ws SolrServerException,IOException { solrServer.add(doc); solrServer.commit();} public void updateDocument(SolrInputDocument doc) throws SolrServerException, IOException { solrServer.add(doc); solrServer.commit();}}Best Thanks,Mohammad yaseen -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-update-document-issue-tp4108214.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Update URI is not found

2013-10-28 Thread Bayu Widyasanyata
Oct 28, 2013 at 2:37 AM, Bayu Widyasanyata > wrote: > > > On Mon, Oct 28, 2013 at 1:26 PM, Raymond Wiker wrote: > > > > > > request: http://localhost:8080/solr/update?wt=javabin&version=2 > > > > > > I think this url is incorrect: there should b

Re: Solr Update URI is not found

2013-10-28 Thread Erick Erickson
d the URL that you successfully queried Solr with... What is the /2 on the end for? Do you use that when you query? Best, Erick On Mon, Oct 28, 2013 at 2:37 AM, Bayu Widyasanyata wrote: > On Mon, Oct 28, 2013 at 1:26 PM, Raymond Wiker wrote: > > > > request: http://localhost

Re: Solr Update URI is not found

2013-10-27 Thread Bayu Widyasanyata
On Mon, Oct 28, 2013 at 1:26 PM, Raymond Wiker wrote: > > request: http://localhost:8080/solr/update?wt=javabin&version=2 > > I think this url is incorrect: there should be a core name between "solr" > and "update". > I changed th SolrURL on crawl scri

Re: Solr Update URI is not found

2013-10-27 Thread Raymond Wiker
On 28 Oct 2013, at 01:19 , Bayu Widyasanyata wrote: > request: http://localhost:8080/solr/update?wt=javabin&version=2 I think this url is incorrect: there should be a core name between "solr" and "update".

Re: Solr Update URI is not found

2013-10-27 Thread Bayu Widyasanyata
xandrerafalovitch > - Time is the quality of nature that keeps events from happening all at > once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) > > > On Mon, Oct 28, 2013 at 8:54 AM, Bayu Widyasanyata > wrote: > > > Additional info: > >

Re: Solr Update URI is not found

2013-10-27 Thread Alexandre Rafalovitch
Tomcat/catalina's log when nutch failed on Solr index > process. It replies "404 error": > > 10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] "POST > /solr/update?wt=javabin&version=2 HTTP/1.1" 404 973 > 10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] "POS

Re: Solr Update URI is not found

2013-10-27 Thread Bayu Widyasanyata
Additional info: - I use Tomcat 7.0.42 - Following are Tomcat/catalina's log when nutch failed on Solr index process. It replies "404 error": 10.1.160.40 - - [28/Oct/2013:08:50:02 +0700] "POST /solr/update?wt=javabin&version=2 HTTP/1.1" 404 973 10.1.160.40 - - [28/O

Solr Update URI is not found

2013-10-27 Thread Bayu Widyasanyata
mapred.LocalJobRunner - job_local1930559258_0001 org.apache.solr.common.SolrException: Not Found Not Found request: http://localhost:8080/solr/update?wt=javabin&version=2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:430)

Re: requested url solr/update/extract not available on this server

2013-09-24 Thread Nutan
gs one-by-one... > >> > >> Best, > >> Erick > >> > >> On Sat, Sep 21, 2013 at 7:34 AM, Nutan <[hidden email]< > http://user/SendEmail.jtp?type=node&node=4091391&i=0>> > >> wrote: > >> > >> > Yes I do g

Re: requested url solr/update/extract not available on this server

2013-09-22 Thread Erick Erickson
et the solr admin page.And im not using the example config >> file,I >> > have create mine own for my project as required.I have also defined >> > update/extract in solrconfig.xml. >> > >> > >> > On Tue, Sep 17, 2013 at 4:45 AM, Chris Hostetter

Re: requested url solr/update/extract not available on this server

2013-09-22 Thread Nutan
> wrote: > > > Yes I do get the solr admin page.And im not using the example config > file,I > > have create mine own for my project as required.I have also defined > > update/extract in solrconfig.xml. > > > > > > On Tue, Sep 17, 2013 at 4:45 AM, Chris Host

Re: requested url solr/update/extract not available on this server

2013-09-21 Thread Erick Erickson
gt; > On Tue, Sep 17, 2013 at 4:45 AM, Chris Hostetter-3 [via Lucene] < > ml-node+s472066n409045...@n3.nabble.com> wrote: > >> >> : Is /solr/update working? >> >> more importantly: does "/solr/" work in your browser and return anything >> useful?

Re: requested url solr/update/extract not available on this server

2013-09-21 Thread Nutan
wrote: > > : Is /solr/update working? > > more importantly: does "/solr/" work in your browser and return anything > useful? (nothing you've told us yet gives us anyway of knowning if > solr is even up and running) > > if 'http://localhost:8080/solr/

Re: requested url solr/update/extract not available on this server

2013-09-16 Thread Chris Hostetter
: Is /solr/update working? more importantly: does "/solr/" work in your browser and return anything useful? (nothing you've told us yet gives us anyway of knowning if solr is even up and running) if 'http://localhost:8080/solr/' shows you the solr admin UI, and you

Re: requested url solr/update/extract not available on this server

2013-09-15 Thread Jack Krupansky
Is /solr/update working? Check solrconfig to see that /update/extract is configured as in the standard Solr example. Does /solr/update/extract work for you using the standard Solr example? -- Jack Krupansky -Original Message- From: Nutan Sent: Sunday, September 15, 2013 2:37 AM To

requested url solr/update/extract not available on this server

2013-09-14 Thread Nutan
I am working on Solr 4.2 on Windows 7. I am trying to index pdf files.I referred Solr Cookbook 4. Tomcat is using 8080 port number. I get this error:requested url solr/update/extract not available on this server When my curl is : curl "http://localhost:8080/solr/update/extract?literal.id=1&a

Re: incorrect solr update behavior

2013-01-14 Thread Gary Yngve
Of course, as soon as I post this, I discover this: https://issues.apache.org/jira/browse/SOLR-4134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537900#comment-13538174 i'll give this patch a spin in the morning. (this is not an example of how to use a

Re: Editing solr update handler sub class

2012-06-25 Thread Shameema Umer
Thanks. I built a plugin to resolve the overwrite dupes issue. On Thu, Jun 21, 2012 at 5:58 PM, Erick Erickson wrote: > H. I think you would have a _far_ easier time of this just getting > all the source code, modifying the relevant source, and then just > issuing an "ant dist" (or "ant exam

Re: Editing solr update handler sub class

2012-06-21 Thread Erick Erickson
H. I think you would have a _far_ easier time of this just getting all the source code, modifying the relevant source, and then just issuing an "ant dist" (or "ant example" if you wanted to try it). There are other targets that will package up the whole thing just like you would get it from the

Re: Editing solr update handler sub class

2012-06-20 Thread irshad siddiqui
Hi, Jar file are located in dist folder . check ur dist folder or you can check your solrconfig.xml file where you will get jar location path. On Thu, Jun 21, 2012 at 9:47 AM, Shameema Umer wrote: > Can anybody tell me where are the lucene jar files > org.apache.lucene.index and org.apache.

Re: Editing solr update handler sub class

2012-06-20 Thread Shameema Umer
Can anybody tell me where are the lucene jar files org.apache.lucene.index and org.apache.lucene.search located? Thanks Shameema On Wed, Jun 20, 2012 at 4:44 PM, Shameema Umer wrote: > Hi, > > I decompiled DirectUpdateHandler2.class to .java file and edited it to > suit my requirement to stop ov

LockObtainedFailedException on solr update

2011-05-16 Thread nitesh nandy
My solr index is updated simultaneously by multiple clients via REST. I use "commitWithing" attribute in the command to direct auto commits. I start getting this error after a couple of days of usage. How do i fix this ? Please find the error log below. Using solr 3.1 with tomcat Thanks

Re: Solr update performance decrease after a while

2009-06-11 Thread Yonik Seeley
2009/6/9 Vincent Pérès : > We are indexing approximately 500 documents per day. My benchmark says an > update is done in 0.7 sec just after Solr has been started. But it quickly > decrease to 2.2 secs per update ! Per document added, or for the whole update + commit? > I have just been focused on

Re: Solr update performance decrease after a while

2009-06-11 Thread Vincent Pérès
Thank for your answer, I will have a look and try to find a solution. Cheers -- View this message in context: http://www.nabble.com/Solr-update-performance-decrease-after-a-while-tp23945947p23980681.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr update performance decrease after a while

2009-06-09 Thread Otis Gospodnetic
Nutch - Original Message > From: Vincent Pérès > To: solr-user@lucene.apache.org > Sent: Tuesday, June 9, 2009 12:00:32 PM > Subject: Solr update performance decrease after a while > > > Hello, > > We are indexing approximately 500 documents per day. My benchmark

Solr update performance decrease after a while

2009-06-09 Thread Vincent Pérès
file. Maybe you have some tips which could help me to be more linear ? Thanks a lot Vincent -- View this message in context: http://www.nabble.com/Solr-update-performance-decrease-after-a-while-tp23945947p23945947.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: size of solr update document a limitation?

2009-01-25 Thread Paul Libbrecht
I even tried the solr client (which communicates binarily) and a reader is converted... with toString! Yes, something of the sort you describe below is what I'm looking for. I think a URL would be a safe bet for many applications. paul Le 25-janv.-09 à 14:39, Yonik Seeley a écrit : I have

Re: size of solr update document a limitation?

2009-01-25 Thread Yonik Seeley
On Sat, Jan 24, 2009 at 6:30 PM, Paul Libbrecht wrote: > is good practice to post large solr update documents? > (e.g. 100kb-2mb). > Will solr do the necessary tricks to make the field use a reader instead of > strings? Solr will stream a *document* at a time from the input stream

size of solr update document a limitation?

2009-01-24 Thread Paul Libbrecht
Hello Solr experts, is good practice to post large solr update documents? (e.g. 100kb-2mb). Will solr do the necessary tricks to make the field use a reader instead of strings? thanks in advance paul smime.p7s Description: S/MIME cryptographic signature

Re: multicore /solr/update

2008-08-13 Thread Ryan McKinley
k K. Dhir wrote: you need to add the core to your call -- post to http://localhost:8983/solr/coreX/update On Aug 13, 2008, at 1:58 PM, Doug Steigerwald wrote: I've got two cores (core{0|1}) both using the provided example schema (example/solr/conf/schema.xml). Posting to http://localh

Re: multicore /solr/update

2008-08-13 Thread Ryan McKinley
) both using the provided example schema (example/solr/conf/schema.xml). Posting to http://localhost:8983/solr/update added the example docs to the last core loaded (core1). Shouldn't this give you a 400? Doug --- Alok K. Dhir Symplicity Corporation www.symplicity.com (703) 351-0200 x 8080 [EMAIL PROTECTED]

Re: multicore /solr/update

2008-08-13 Thread Doug Steigerwald
lr/coreX/update On Aug 13, 2008, at 1:58 PM, Doug Steigerwald wrote: I've got two cores (core{0|1}) both using the provided example schema (example/solr/conf/schema.xml). Posting to http://localhost:8983/solr/update added the example docs to the last core loaded (core1). Shouldn

Re: multicore /solr/update

2008-08-13 Thread Ryan McKinley
solr/conf/schema.xml). Posting to http://localhost:8983/solr/update added the example docs to the last core loaded (core1). Shouldn't this give you a 400? Doug --- Alok K. Dhir Symplicity Corporation www.symplicity.com (703) 351-0200 x 8080 [EMAIL PROTECTED]

Re: multicore /solr/update

2008-08-13 Thread Doug Steigerwald
008, at 1:58 PM, Doug Steigerwald wrote: I've got two cores (core{0|1}) both using the provided example schema (example/solr/conf/schema.xml). Posting to http://localhost:8983/solr/update added the example docs to the last core loaded (core1). Shouldn't this give you a 400?

Re: multicore /solr/update

2008-08-13 Thread Alok K. Dhir
you need to add the core to your call -- post to http://localhost:8983/solr/coreX/update On Aug 13, 2008, at 1:58 PM, Doug Steigerwald wrote: I've got two cores (core{0|1}) both using the provided example schema (example/solr/conf/schema.xml). Posting to http://localhost:8983/solr/u

multicore /solr/update

2008-08-13 Thread Doug Steigerwald
I've got two cores (core{0|1}) both using the provided example schema (example/solr/conf/schema.xml). Posting to http://localhost:8983/solr/update added the example docs to the last core loaded (core1). Shouldn't this give you a 400? Doug

Tomcat: The requested resource (/solr/update) is not available.

2007-06-12 Thread Matt Mitchell
;m running the post.sh file like: post.sh ../xml/*.xml Which sends all of the files in xml to the post.sh script. Most of the POSTs work fine, but every once in a while I'll get: "The requested resource (/solr/update) is not available." So my questions is this, is there a problem

Re: Solr Update Handler Failes with Some Doc Characters

2007-05-09 Thread Yonik Seeley
On 5/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: 1000194 http://www(r)barharborinn(r)com Bar Harbor Hotels and Bar Harbor Inn near Acadia in Bar Harbor ME Bar Harbor Inn- premier oceanfront hotel in Bar Harbor ME(r) Rated Superior First Class by OHG, Best in-town location(r)Spe

Re: Solr Update Handler Failes with Some Doc Characters

2007-05-09 Thread Koji Sekiguchi
schema). I just ran a test by adding (R) symbolt into the XML to get the exact error message. See below. Thanks, Av *** SUBMITTED REQUEST *** (as captured by HTTP proxy) POST /solr/update HTTP/1.1 Content-Type: text/xml; charset=utf-8 Host: ws2006b:8983 Content-Length: 695 Expect: 100-continue

Re: Solr Update Handler Failes with Some Doc Characters

2007-05-09 Thread [EMAIL PROTECTED]
HTTP proxy) POST /solr/update HTTP/1.1 Content-Type: text/xml; charset=utf-8 Host: ws2006b:8983 Content-Length: 695 Expect: 100-continue Proxy-Connection: Close 1000194 http://www®barharborinn®com Bar Harbor Hotels and Bar Harbor Inn near Acadia in Bar Harbor ME Bar Harbor Inn- premier

Re: Solr Update Handler Failes with Some Doc Characters

2007-05-09 Thread Koji Sekiguchi
When I submit some > documents containing upper ASCII characters, Solr update handler fails with > an XML parsing error saying that it encountered an EOF before the closing > tags. > > The XML is perfectly correct and is using utf-8 encoding. It is generated > using XmlWriter fr

Re: Solr Update Handler Failes with Some Doc Characters

2007-05-09 Thread Brian Whitman
I see that the update handler fails even if the character is NOT right next to XML closing tag. If the character is anywhere in any of the XML tags, the update handler fails to parse the XML. Does posting the utf8-example in the exampledocs directory work?

Re: Solr Update Handler Failes with Some Doc Characters

2007-05-09 Thread [EMAIL PROTECTED]
update handler fails to parse the XML. Thanks, Av - Original Message From: Yonik Seeley <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Wednesday, May 9, 2007 10:45:43 AM Subject: Re: Solr Update Handler Failes with Some Doc Characters On 5/9/07, [EMAIL PROTECTED] &

Re: Solr Update Handler Failes with Some Doc Characters

2007-05-09 Thread Yonik Seeley
On 5/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I run the example using Jetty on Windows 2003 machine. When I submit some documents containing upper ASCII characters, Solr update handler fails with an XML parsing error saying that it encountered an EOF before the closin

Solr Update Handler Failes with Some Doc Characters

2007-05-09 Thread [EMAIL PROTECTED]
Hi, I run the example using Jetty on Windows 2003 machine. When I submit some documents containing upper ASCII characters, Solr update handler fails with an XML parsing error saying that it encountered an EOF before the closing tags. The XML is perfectly correct and is using utf-8 encoding. It