Although Lucene is a search index, and not a database, if your fields are reasonably small, you can ask Lucene to store them in the index.
虽然Lucene是一个搜索索引而非一个数据库,但是如果这个字段相当小,你可以让Lucene把它们存在索引里面。
We will use the DB2 Design Advisor and ask DB2 for an appropriate new index on the ORG or STAFF table to improve the performance of this query.
我们将使用DB 2 Design Advisor,让DB 2在ORG或staff表上创建适当的新索引,从而改进这个查询的性能。
In other words, you can ask the server, "give me all annotations of resource x," and it will use the index to provide a quick response.
换句话说,可以请求服务器“把与资源X相关的所有注解给我”,服务器会使用索引提供快速响应。
应用推荐