Dynamic index creation

Please see if this helps to clarify: How to index only some of the fields of the entire document? - #9 by stephenb