Storing Currency as Decimal in Cassandra and indexing via DSE Search (SolR) -
I'm using a decimal value type in the cassandra (BigDial, A) to collect money.
I think that is unable to list this area. SolR data type I tried to match it and then the float error message is almost the same:
Solar type text and cassandra type: does not match for decimal field
< / Blockquote>CurrencyField expects currency and value, as a taple, is it necessary to store currency values in C * as a string, so that it is indexed correctly? As an alternative solution, I can store values twice as a decimal, string, although I do not like the needlessness, which makes updates and other handling complicated. Thank you for your suggestions ...
Try using double or float if you scan the range If you plan to do so, use the TriSolar field:
TripletFlilled Float
Reference Docs:
Comments
Post a Comment