IndexCreation.CreateIndexes(typeof (Some_Index_Class).Assembly, documentStore);
and this does a scan of the assembly for any indexes. Great :)
Now, is there a way we can specify only ONE index to add? I know there's a PUT indexing thingy .. but I thought that requires the index code. I was just hoping to provide the class name (like above) .. but it doesn't scan. just adds it.
Why? In my tests project, I'm hoping to specify the only index (or indexes) which the tests uses .. to give the test a bit more speed. Why index indexes which won't be used in the test? I know this doesn't have an impact on the output .. just the TIME to output .. but i was just curious none-the-less :)
-me-