Add Doctrine type for BinaryVector

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Unknown
    • doctrine-2.13.0
    • Affects Version/s: None
    • Component/s: Doctrine
    • None
    • PHP Drivers
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Convert from array of int/float/bool to Binary vector.

      This is 3 new types :

      • BinVectorInt8
      • BinVectorFloat32
      • BinVectorPackedBit

      That extends an abstract BinVector type.

       

      This is helpful to convert the array into a Binary instance. But decoding the Binary Vector on every document read might not be optimal. Users should exclude this field from their query results.

            Assignee:
            Jérôme Tamarelle
            Reporter:
            Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: