Re: Updating in Solr.SOLR-139

2008-04-25 Thread nutchvf
Hi!!! I have already realized the mistake.My "id" field was generated from the copy of another field called "url".In other words It seems that the thing did not work well when the "id" field was generated from the copy of another one. Now I have changed the schema.xml so that this does not

Re: Updating in Solr.SOLR-139

2008-04-24 Thread Koji Sekiguchi
I've just tried this again in my environment, but I couldn't reproduce what you pointed. My schema is: : required="true" /> multiValued="true"/> : id Koji nutchvf wrote: Hi!! Thank you very much,Koji!! Your response has helped me a lot and I have already managed to update the

Re: Updating in Solr.SOLR-139

2008-04-24 Thread Yonik Seeley
Apologies, I read too fast and didn't see that the original user was in fact using the ModifiableDocument patch (that's what I was referring to by "update patch"). On Thu, Apr 24, 2008 at 12:11 PM, Koji Sekiguchi <[EMAIL PROTECTED]> wrote: > Yonik, > > I'm afraid but I don't understand what you m

Re: Updating in Solr.SOLR-139

2008-04-24 Thread Koji Sekiguchi
Yonik, I'm afraid but I don't understand what you mean by "update patch". I did this in last week with Eriks-ModifiableDocument.patch in SOLR-139 and got working... Koji Yonik Seeley wrote: Koji: perhaps you are working with the "update" patch? I'm pretty sure these things won't work with sto

Re: Updating in Solr.SOLR-139

2008-04-24 Thread Yonik Seeley
Koji: perhaps you are working with the "update" patch? I'm pretty sure these things won't work with stock solr, right? -Yonik On Fri, Apr 18, 2008 at 10:30 AM, Koji Sekiguchi <[EMAIL PROTECTED]> wrote: > You don't need any additional attributes in schema.xml, but the field > should be stored. >

Re: Updating in Solr.SOLR-139

2008-04-24 Thread nutchvf
Hi!! Thank you very much,Koji!! Your response has helped me a lot and I have already managed to update the document.Now,I have another problem: Sending the update request to Solr: For example: http://localhost:8389/solr/update?mode=tags:overwrite&commit=true AAA German After that step,

Re: Updating in Solr.SOLR-139

2008-04-18 Thread Koji Sekiguchi
You don't need any additional attributes in schema.xml, but the field should be stored. You can overwrite the existing field value of the doc AAA w/ the following XML: AAA German and post the following URL: http://localhost:8389/solr/update?mode=tags:overwrite&commit=true If the tags fie