Comment 3 for bug 987412

Revision history for this message
Eric Casteleijn (thisfred) wrote :

After some discussion with Samuele I think I have a better grasp.

What I'll do for now:

integers will get indexed as zero padded strings by a special number() mapping that specifies the amount of padding.
booleans will get indexed as strings (probably just "0" and "1" in keeping with tradition, to not waste any more space than necessary.)
floats we'll ignore for now.

Open question:
If we index a field and the value is not recognized as one of the above, do we ignore the value, raise an exception, or convert to a string and index that?