Reputation: 4519
I have created a custom search config from the deafult search index configurations
and I have kept <indexAllFields>true</indexAllFields>
,
Also I am created a computed field, which is being called from the config like below
<field fieldName="taglist" returnType="stringCollection">SitecoreComputedField.TaggingItems,SitecoreComputedField</field>
Now I have noticed the computed field is not called if I keep indexAllFields = True
but If I make it false the computed field works like an charm. But I dont want to keep it to false
. I am not able to find why it is behaving like this ?
Upvotes: 0
Views: 979
Reputation: 180
Index a field will allow you to use that field in a search filter (Eg: by using LINQ or querying directly your index). That is different, however, from actually storing the content of each field at your index (doing that for every fields will highly increase your index size and times).
In your case I think you must force Sitecore to add the value to Index. Try updating your config entry with parameter storageType="YES" so you have:
<field fieldName="taglist" returnType="stringCollection" storageType="YES">SitecoreComputedField.TaggingItems,SitecoreComputedField</field>
Upvotes: 2