[MarkLogic Dev General] int vs integer

Mike Sokolov sokolov at ifactory.com
Thu Jun 19 13:44:46 PDT 2008


When creating range indexes, you have a choice of int vs. long (among 
other types).  Am I correct in thinking that "int" maps to xs:int (which 
is specified as -32768 to 32767)?  Or is it really machine "int" (32 or 
64)? What happens if an id (say) is outside that range?  Does it 
generate an error?

-Mike


More information about the General mailing list