Skip to content

Latest commit

 

History

History
9 lines (8 loc) · 1.64 KB

faq.md

File metadata and controls

9 lines (8 loc) · 1.64 KB

FAQ

  • Does Apply support String interpolation? Not yet; rather than using string interpolation, you'll need to use string.Format
  • Do bitwise operations work for apply? No - the Bitwise XOR operator ^ indicates an exponential relationship between the operands
  • When the Aggregation materializes, there's nothing in the RecordShell object. What gives? The RecordShell item is used to preserve the original index through the aggregation pipeline and should only be used for operations within the pipeline. It will never materialize when the pipeline is enumerated
  • Why Do some Reductive aggregations condense down to a single number while others condense down to an IEnumerable? When you build your pipeline, if you have a reductive aggregation not associated with a group, the aggregation is run immediately. The result of that reduction is furnished to you immediately for use.
  • Is the RedisCollection thread safe? - The RedisCollection is only thread safe when initalized with the saveState option set to false. e.g. var collection = provider.RedisCollection<Customer>(false);
  • What is the difference between an Indexed and a Searchablefield? - Indexed should be the default for virtually all use-cases, they allow for exact matches, prefix, postfix, and infix searches on strings, as well as providing indexing for geolocations, numbers, guids, enumes and other scalar values. Searchable is appropriate only if you want to perform a full-text search on a given field
  • Should I set StorageType to Json or Hash Generally we would recommend using Json if you are storing anything other than numbers and strings.