Re: PointType doc reindex issue

2012-10-12 Thread Ravi Solr
Thank you very much Hoss, I knew I was doing something stupid. I will change the dynamic fields to stored="false" and check it out. Thanks Ravi Kiran Bhaskar On Wed, Oct 10, 2012 at 3:02 PM, Chris Hostetter wrote: > : I have a weird problem, Whenever I read the doc from solr and > : the

Re: PointType doc reindex issue

2012-10-10 Thread Chris Hostetter
: I have a weird problem, Whenever I read the doc from solr and : then index the same doc that already exists in the index (aka : reindexing) I get the following error. Can somebody tell me what I am : doing wrong. I use solr 3.6 and the definition of the field is given : below When you us

Re: PointType doc reindex issue

2012-10-10 Thread Ravi Solr
I am using DirectXmlRequest to index XML. This is just a test case as my client would be sending me a SOLR compliant XML. so I was trying to simulate it by reading a doc from an exiting core and reindexing it. HttpSolrServer server = new HttpSolrServer("http://testsolr:8080/solr/my

Re: PointType doc reindex issue

2012-10-10 Thread Gopal Patwa
Instead addfield method use setfield On Oct 10, 2012 9:54 AM, "Ravi Solr" wrote: > Gopal I did in fact test the same and it worked when I delete ted the > geolocation_0_coordinate and geolocation_1_coordinate. But that seems > weird, so I was thinking if there is something else I need to do to >

Re: PointType doc reindex issue

2012-10-10 Thread Ravi Solr
Gopal I did in fact test the same and it worked when I delete ted the geolocation_0_coordinate and geolocation_1_coordinate. But that seems weird, so I was thinking if there is something else I need to do to avoid doing this awkward workaround. Ravi Kiran Bhaskar On Wed, Oct 10, 2012 at 12:36 PM,

Re: PointType doc reindex issue

2012-10-10 Thread Gopal Patwa
You need remove field after read solr doc, when u add new field it will add to list, so when u try to commit the update field, it will be multi value and in your schema it is single value On Oct 10, 2012 9:26 AM, "Ravi Solr" wrote: > Hello, > I have a weird problem, Whenever I read the

PointType doc reindex issue

2012-10-10 Thread Ravi Solr
Hello, I have a weird problem, Whenever I read the doc from solr and then index the same doc that already exists in the index (aka reindexing) I get the following error. Can somebody tell me what I am doing wrong. I use solr 3.6 and the definition of the field is given below Exception i