If a computed field is computed at run-time when storageType is set to no, does does the index need to be rebuilt at all as it's all done in memory?

1 Answer 1


I think you are misunderstanding how a computed field and the storage type works.

The storageType has nothing to do with the content being added to the index. It just controls whether the content is stored along with the indexed values. If you store the content too, then you can retrieve the content out of the index. If you don't, then you can only search on that content, nothing is returned in the field value.

A computed field is never "computed" at run time, it is always computed at index time when the value is added to the index.

  • "content is stored along with the indexed values" which content? The IComputedIndexField value returned or the field values?
    – Adam Hess
    Mar 1, 2019 at 16:09
  • The content returned by the computed field method.
    – Richard Seal
    Mar 1, 2019 at 16:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.