Index.Write() required?

Dec 12, 2009 at 12:18 AM

In my code I'm doing a relatively simple search copied almost line for line from the example. 

the only difference seems to be that when I remove the index.write() line the index that I'm using in my linq query becomes null.

 

Any thoughts? or is this the way it's designed to work?

 

thank in advance!