如果你搜索单独一个索引,你使用带单一索引的IndexSearcher。
If you're searching a single index, you use an IndexSearcher with a single index.
这意味着,如果你搜索科学文献来了解未来的态势,你往往会发现所有的答案都立基与自然过程。
This means that if you search the scientific literature for approaches to the future, you will tend to find answers based on natural processes.
如果你搜索“棒球”,然后记住你想要去在红袜上阅读,你就可以从“棒球”的搜索结果中开始新的搜索。
If you search for "baseball" and then remember you want to read up on the Red Sox, you can start a new search from the "baseball" search results page.
That goes back to that idea of sort of discipline coding. It's easy to have assumptions about what you think are going to come into the program when you writ it. If you really know what they are use them as search, but if you think there's going to be some flexibility, you want to prevent the user getting trapped in a bad spot, and exceptions as a consequence are a good thing to use.
这又回到了规范编码的想法上来了,在你写代码的时候考虑,什么会进入你的代码的思考是简单的,如果你真的知道,他们是用他们来做搜索的,而你希望有一定的灵活性,你想要阻止用户,陷入一个艰难的境地,那么异常是非常实用的。
If you look up on the internet, Liverpool, and look up a video of somebody speaking from Liverpool,
如果你在网上搜索,利物浦,搜索说利物浦方言的人的视频,
Again, if you have a look on the websites for English gardens and stately homes,
再说一次,如果你上网搜索英式花园或者乡间别墅,
应用推荐