400 Error adding field 'tags'='[a,b,c]'

2012-03-13 Thread jlark
Hey Folks, I'm new to lucene/solr so pardon my lack of knowledge. I'm trying to feed some json to my solr instance through wget. I'm using the command wget 'http://localhost:8983/solr/update/json?commit=true' --post-file=itemsExported.json --header='Content-type:application/json' however the r

Re: 400 Error adding field 'tags'='[a,b,c]'

2012-03-13 Thread jlark
Hey,Thanks for the lightning quick responses. Unfortunalty no stack trace anywhere I can see. Where would you recommend I look? I think this is a very bad bad bug. I changed my field name from tag to ptag and now it's working fine! Thanks, Alp -- View this message in context: http://lucene.4

Re: 400 Error adding field 'tags'='[a,b,c]'

2012-03-13 Thread jlark
Interestingly I'm getting this on other fields now. I have the field which is copied to text and my text field is simply I'm feedin my test document {"url" : "TestDoc2", "title" : "another test", "ptag":["a","b"],"name":"foo bar"}, and when I try to feed I get. HTTP request sent, a

RE: 400 Error adding field 'tags'='[a,b,c]'

2012-03-31 Thread jlark
k that the names of the fields themselves are the problem. I never had an issue with the field name 'name'. Cheers, Chantal On Wed, 2012-03-14 at 02:53 +0100, jlark wrote: > Interestingly I'm getting this on other fields now. > > I have the field stored="true&quo