Read the source code, to learn to find the problem according to the source code, ask questions, let the problem in turn to drive reading source
For example, reading the Lucene search process will
Look at the source, understand it to query to parse, there are cache related things, and there are other,
Then we should ask questions according to these nouns.
How to parse query, why to parse query;
How to do the cache, how the cache is implemented;
Of course, reading may be chaotic, it is necessary to seize the main line, that is, the main process, ignoring the details of attention to focus on attention, do not pay attention to the fine buckle,
When it is necessary to pay attention to the fine buckle;
Read the source code, to learn to find the problem according to the source code, ask questions, let the problem in turn to drive reading source