def test_score_modifier_with_multiple_dots_in_subfield(self):
        """
        Test case where the score modifier field contains multiple periods ('.') in the subfield name.
        Ensures that only the first occurrence of '.' is split, and the rest are retained as part of the subfield.
        """
        marqo_doc = {
            '_id': 'complex_id',
            'title': 'complex title',
            'price': 200.0,
            "map_float_field": {"complex.sub.field.name": 4.56},
            constants.MARQO_DOC_TENSORS: {
                'title': {
                    constants.MARQO_DOC_CHUNKS: ['complex', 'title'],
                    constants.MARQO_DOC_EMBEDDINGS: [[1.0, 2.0, 3.0], [4.0, 5.0, 6.0]]
                }
            }
        }

        actual_vespa_doc = self.vespa_index.to_vespa_document(marqo_doc)
        
        self.assertEqual(actual_vespa_doc['id'], 'complex_id')
        self.assertEqual(
            actual_vespa_doc['fields'][common.FIELD_SCORE_MODIFIERS_FLOAT],
            {'price': 200.0, 'map_float_field.complex.sub.field.name': 4.56}
        )

        Test case where the score modifier field contains multiple periods ('.') in the subfield name.
        Ensures that only the first occurrence of '.' is split, and the rest are retained as part of the subfield.
        
tests/integ_tests/core/structured_vespa_index/test_structured_vespa_index.py