You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by net_nav <fa...@sina.com> on 2009/09/23 15:50:51 UTC

about url field error

hello guy
  I am newbie on solr.
  I have running solr on tomcat6, all is ok,
  when i add data to solrserver via http post cause a error
  the below is code
        SolrInputDocument solrdoc=new SolrInputDocument();
    	solrdoc.addField("url",request.getParameter(URL));
2009-9-23 21:18:03 org.apache.solr.update.processor.LogUpdateProcessor
finish
info: {add=[http://www.yahoo.com]} 0 1
Invalid version or the data in not in 'javabin' format

the schema.xml content is 
<field name="url" type="url" stored="true" indexed="true"
            required="true"/>
i have to solve this error

thank you very much
-- 
View this message in context: http://www.nabble.com/about-url-field-error-tp25531153p25531153.html
Sent from the Solr - User mailing list archive at Nabble.com.