Re: problem int type in adding xml file

2010-05-06 Thread Antonello Mangone
You're right I've solved the problem in this way, but it's a bit strange with float numbers didn't give me this problem. 2010/5/6 Erik Hatcher > In your example you certainly do have whitespace in there. Make it name="flg_access">1 instead. > > However, I think this is a case where Solr shoul

Re: problem int type in adding xml file

2010-05-06 Thread Erik Hatcher
In your example you certainly do have whitespace in there. Make it 1 instead. However, I think this is a case where Solr should be lenient and trim leading and trailing whitespace when parsing incoming strings into numbers/dates. Erik On May 6, 2010, at 10:25 AM, Antonello Man

problem int type in adding xml file

2010-05-06 Thread Antonello Mangone
Hi to all, I have a problem when I try to add an xml file to a core ... in my xmlfile I have a field that is: 1 in my schema.xml file I've defined the int type as in the examples of tutorial and then I defined the field in this way when I try to i