chris
2006-04-17 20:50:02 UTC
Hello,
Has anyone used a variant data type and array as one of the custom
properties being cached in indexing service. Can anyone give me a real world
example of someone doing this.
Lets say I had an htm page with 10 photo captions metatags, 500 characters
in each caption, being cached as 10 seperate custom metatag properties named
'caption1', 'caption2', 'caption3', etc. Would I be better off performance
wise to take all of those custom metatag properties, totalling 5000
characters per *.htm page, and putting them into a single custom property
that was an array so that I would have just one custom property named
'CAPTIONS'.
Is there any benefit in using an array with a variant type in this situation?
How do other people benefit from using a variant datatype an having a array
used as a custom property. What is the benefit? Is it a cosmetic benefit, a
performance benefit, or a display benefit?
I understand the benefits of an array with programming, but I can't really
see any benefit for the example I used above unless the benefit is to have
less properties. Your still going to have the same amount of data in the
properties cache in the long run.
However, instead of having 10 different metatag properties with the data
spread out evenly, you will have one giant property with all the data from
the 10 individual properties. Wouldn't you have some kind of performance hit
with a single property being a huge variant data property. How would the
querys performance be on the catalog? better or worse? Is there any
performance degradations in using a custom property as an array with a
variant datatype?
Thank you for your time,
Chris
Has anyone used a variant data type and array as one of the custom
properties being cached in indexing service. Can anyone give me a real world
example of someone doing this.
Lets say I had an htm page with 10 photo captions metatags, 500 characters
in each caption, being cached as 10 seperate custom metatag properties named
'caption1', 'caption2', 'caption3', etc. Would I be better off performance
wise to take all of those custom metatag properties, totalling 5000
characters per *.htm page, and putting them into a single custom property
that was an array so that I would have just one custom property named
'CAPTIONS'.
Is there any benefit in using an array with a variant type in this situation?
How do other people benefit from using a variant datatype an having a array
used as a custom property. What is the benefit? Is it a cosmetic benefit, a
performance benefit, or a display benefit?
I understand the benefits of an array with programming, but I can't really
see any benefit for the example I used above unless the benefit is to have
less properties. Your still going to have the same amount of data in the
properties cache in the long run.
However, instead of having 10 different metatag properties with the data
spread out evenly, you will have one giant property with all the data from
the 10 individual properties. Wouldn't you have some kind of performance hit
with a single property being a huge variant data property. How would the
querys performance be on the catalog? better or worse? Is there any
performance degradations in using a custom property as an array with a
variant datatype?
Thank you for your time,
Chris