对于本实例(图4),您将对drawingsurface类中的只读索引器建模(因而它只有get存取器)。
For this example (Figure 4), you will model a read-only indexer (thus it has only a get accessor) in the DrawingSurface class.
一般情况下,应该避免使用此类索引,除非应用程序大部分是只读的,并且确实无法预测在搜索条件中使用哪些元素。
You should generally avoid such an index unless your application is mostly read-only and you really cannot predict which elements will be used in search conditions.
重新生成索引的速度更快(让未改变的部分保持打开)并且读取索引时的并发性更好(使用了只读标志)。
Faster index reopening (keeps unchanged segments opened) and better index reader concurrency (use of the read only flag).
SIAPI为只读的,不含有任何添加、删除或修改搜索索引的方法。
The SIAPI is read-only and does not contain any methods for adding, removing, or changing the search index.
理想情况下,索引提供了足够多的信息,可以只读入所需要的行,但是有时候查询(设计不佳或数据本性使然)需要读取表中大量数据。
Ideally, the indexes provide enough information to read in only the needed rows, but sometimes queries (through poor design or the nature of the data) require large chunks of the table to be read.
理想情况下,索引提供了足够多的信息,可以只读入所需要的行,但是有时候查询(设计不佳或数据本性使然)需要读取表中大量数据。
Ideally, the indexes provide enough information to read in only the needed rows, but sometimes queries (through poor design or the nature of the data) require large chunks of the table to be read.
应用推荐