def _create_structured_marqo_index(
        self, 
        name: str,
        text_field_names: List[str] = [],
        tensor_field_names: List[str] = []
    ) -> StructuredMarqoIndex:
        """Helper method to create a structured Marqo index for testing."""
        fields = []
        
        # Add text fields with lexical search and filter capabilities
        for field_name in text_field_names:
            fields.append(
                Field(
                    name=field_name,
                    type=FieldType.Text,
                    features=[FieldFeature.LexicalSearch, FieldFeature.Filter],
                    lexical_field_name=f'{field_name}_lexical',
                    filter_field_name=f'{field_name}_filter'
                )
            )

        # Add tensor fields
        tensor_fields = []
        for field_name in tensor_field_names:
            tensor_fields.append(
                TensorField(
                    name=field_name,
                    embeddings_field_name=f'{field_name}_embeddings',
                    chunk_field_name=f'{field_name}_chunks'
                )
            )

        return StructuredMarqoIndex(
            name=name,
            schema_name=name,
            model=Model(name='hf/all_datasets_v4_MiniLM-L6'),
            normalize_embeddings=True,
            distance_metric=DistanceMetric.Angular,
            vector_numeric_type='float',
            hnsw_config=HnswConfig(ef_construction=100, m=16),
            marqo_version='2.12.0',  # Version that supports hybrid search
            created_at=time.time(),
            updated_at=time.time(),
            fields=fields,
            tensor_fields=tensor_fields,
            text_preprocessing=TextPreProcessing(
                split_length=2,
                split_overlap=0,
                split_method=TextSplitMethod.Sentence
            ),
            image_preprocessing=ImagePreProcessing(
                patch_method=None
            )
        )
Helper method to create a structured Marqo index for testing.
tests/unit_tests/marqo/core/structured_vespa_index/test_structured_vespa_index_to_vespa_query.py