Extending the File Based Index
I've implemented a ScalarIndexExtension extension. However, I don't completely understand how the index uses my "keys" to associated with the files being indexed. Is there documentation somewhere that sheds some light on the indexing process?
请先登录再写评论。
I think I answered my own question. I was finally able to trace throughing the indexing code and found how the "value" of the Map returned by the DataIndexer is used. I never noticed the "FileBasedIndex.getValues(...)" method and the "FileBasedIndex.processValues(...)" method.