You are here

function apachesolr_floatval in Apache Solr Search 7

Same name and namespace in other branches
  1. 8 apachesolr.index.inc \apachesolr_floatval()
  2. 6.3 apachesolr.index.inc \apachesolr_floatval()
1 string reference to 'apachesolr_floatval'
apachesolr_fields_default_indexing_callback in ./apachesolr.index.inc
Callback that converts list module field into an array For every multivalued value we also add a single value to be able to use the stats

File

./apachesolr.index.inc, line 1317
Functions related to Apache Solr indexing operations.

Code

function apachesolr_floatval($value) {
  return sprintf('%0.20f', $value);
}