I am running sphinx on a 32 bit machine and want to get the sql_attr_bigint to work.
- Can this be done?
- Should it work by default?
- Do I have to re-compile and make any changes at compile time?
- What effect will it have on performance?
My table id fits in 32-bits. I just need this with one attribute and it must be 64 bits.
Could the problem be in PHP?
the problem was in PHP. When I assigned the value from the result array to a variable PHP messed up the value. Sphinx is working fine with bigints on a 32-bit comp.
This can still work on PHP as sphinx returns attribute values as strings in the results array ( regardless of how they were stored in the index). So I can just use the string value in the PHP code.