I remember the old effective approach to studying the new structure. This is always the best way to read a good book on this subject, say, MFC. When I tried to skip a lot of material to speed up the coding, it turned out later that the whole book would be read first. There were no good ways to study structure in small parts. Or at least I didn’t see them.
In recent years, a lot has happened: search results from Google, programming blogs, much more people participating in discussions on the Internet, many open source frameworks have been improved.
Right now, when we write software, we often depend on third-party (usually open source) frameworks / libraries. And many times we need to know only a small amount of their functionality to use them. This is just finding the simplest way to use a small subset of the library without unnecessary pessimization.
What do you do to study the structure as little as possible and use it effectively?
For example, suppose you need to index a collection of documents using Lucene . And you need to highlight the search fragments. You don’t care about stem cells by storing the index in a single file compared to several files, fuzzy queries and a lot of other material that will occupy your brain if you carefully study Lucene.
So what are your strategies, approaches, tricks to save your time?
I will list what I would do, although I feel that my process can be improved.
- Search for "lucene tutorial", "lucene highlight example" and so on. Try to evaluate the credibility of the accounts of unofficial articles (blog posts) based on the publication date, number and tone of comments. If there is no definite answer, collect new keywords and links to search the landing page.
- Search for really quick tutorials for beginners / tutorials on the official website.
- Check out how valuable javadocs are for newbies. (Read Lucene Package Summary )
- Find simple examples that come with a library related to what you need. (Study "src / demo / org / apache / lucene / demo")
- Ask about the "Lucene search simple search example" on the Lucene mailing list. You can get an answer or even get a bad reputation if you ask a stupid question. And often you don’t know if your question is stupid because you have not studied the depth of the structure.
- Ask about it in Stackoverflow or another QA service: "Can you give me a working example of search keywords highlighted in Lucene." However, this question is very specific and cannot receive any answers or a poor grade.
- Evaluate how easy it is to get an answer from the structure code if it opens.
What are your search / search routes? Write them in priority, if possible.
search frameworks
Sergey
source share