Using this approach of simply altering a configuration file (in the Spring case, an XML descriptor), you can change the component's implementation to use a different indexing strategy.
A word, symbol, or number used as a descriptor for retrieval of information from a collection, especially in a coordinate indexing system.
用作描述符的一种字、符号或数,用于从某一集合中,特别是从某一配位标引系统中检索信息。
3
In the second scenario, the document translator and indexing engine components and their subcomponents are externally defined through a descriptor and are instantiated using Spring.