Do not try and index anything yet because there is more code to add.
不要尝试建立任何内容的索引,因为还需要添加其他代码。
Using the code in Listing 1, you can add the text documents to the index successfully.
利用清单1中的代码,你就可以成功的将文本文档添加到索引中去。
In Part 5, I discuss code completion and content assist, including how they work and how they access the PDOM index.
在第5部分中,我将探讨代码完成及内容协助,包括二者如何工作以及如何访问PDOM索引。
If there is an index, the programmer must write appropriate code to use the index.
如果有索引,程序员就必须编写适当的代码来使用该索引。
If you want those three predicates applied in the exact order in which you code them, you must drop and re-create the index (or create a new index) on (COLA, COLC, COLB).
如果您想那三个谓词完全按照它们的编码顺序应用,则必须删除并在(COLA,COLC,COLB)上重建索引(或者创建一个新索引)。
As soon as you start keeping track of array offsets, your code will get much more complicated so any time you can avoid iterating through an array by index you should.
一旦您开始跟踪数组偏移,您的代码就会变得更加复杂,以至于任何时候您都应该避免通过索引迭代通过一个数组。
Those redirects deliver a 302 or 301 code, which usually tells search engines to index your error page at many different URLs.
此类重定向提交的是302或301代码,通常这会告诉搜索引擎将你的错误页跟许多不同的URL一起索引起来。
Let's look at the effect of adding subcategories to the index on: XML schema, relational schema, queries, and the PHP application code.
我们看一下向索引中添加子种类对以下各项的影响:XML模式、关系模式、查询和PHP应用程序代码。
For example, non-unique element names can keep you from properly evaluating code that performs fewer index look-ups.
例如,非唯一元素能够阻止您正确评估执行较少索引查询的代码。
You may wonder whether or not the impact of having to index this view may negate your performance gains when your code executes.
您可能想知道执行代码时,如果必须对此视图建立索引,是否会降低性能。
The following is a code that fills an author resource with data and index it.
下面的示例代码填充了一个资源并索引它。
If you run this code with a larger number for the Fibonacci sequence index (say, 12), you'll end up watching output scroll by for a long time.
如果对大的斐波纳契数列(比如说12)使用这段代码,将会看到长时间的滚动输出。
You could build an Index view using the parser described in Part 3, but it would have to parse every source file in the CDT workspace whenever any code is modified.
可以使用在第3部分中描述过的解析器来构建index视图,但一旦任何代码进行了修改,该视图就不得不解析CDT工作空间中的每个源文件。
In addition to providing the Index view, this improved parsing also makes possible features such as code completion and content assist.
除提供Inde x视图外,这个改进了的解析过程也使一些功能如代码完成及内容协助成为可能。
The error handler, if one is provided, is the index on the stack of the Lua code to handle any errors that occur.
如果提供错误处理程序,那么它应该是用于处理任何发生的错误的Lua代码在栈上的索引。
This particular annotation indicates to the pureQuery's DDL code generation system to properly generate the CREATE INDEX statement for defining the primary key.
这个标注指示pureQuery的DDL代码生成系统恰当地生成用于定义主键的CREATEINDEX语句。
The code below shows a PHP application that connects a Solr service, adds two documents to the index, and runs the part number query used previously.
下列代码显示了连接Solr服务、向索引中添加两个文档和运行先前使用的零部件号查询的PHP应用程序。
Thus, all indexed strings with the same hash code are returned from the index scan as possible candidates.
因此,索引扫描返回所有具有相同hash码的已索引的字符串,作为可能的候选者。
To index and then search files, you first need write code that converts your files into Document objects.
为了建立索引并搜索文件,首先你要写代码把你的文件转换成Document对象。
This index can be used in any of your Eclipse application code by calling respective methods discussed in the Database manipulation layer section.
此索引可以用于任何Eclipse应用程序代码中,方法是调用数据库操纵层部分中讨论的各个方法。
If the project has just been created, the Job doesn't accomplish much because there's no code to index.
如果刚创建了该项目,Job并没有多大功能,因为还没有可以索引的代码。
To combine Solr with PHP, you must install Solr, design an index, prepare your data to be indexed by Solr, load the index, write PHP code to execute queries, and present results.
要将Solr与PHP结合使用,您必须安装Solr,设计索引,准备Solr要索引的数据,载入索引,编写执行查询的php代码和显示结果。
If the code always begins with the index set to zero, after processing, the index value will equal the number of parsed characters.
如果代码常以设置为0的索引开始,处理后,索引值将等于解析过的字符的值。
In his tutorial, Wegner shows how to create an XCode 4 project from scratch, import the library, and create code samples to index blob and table storage.
在他的教程中,Wegner展示了如何创建一个XCode4项目,将所需库导入,以及能够创建索引blob和table存储的例程。
First, you need an index file that can be called upon to display the color (or template) choices. The following code does just that.
首先,需要一个索引文件,可调用此文件来显示颜色(或模板)选项。
We can get a column? S value either by specifying the column index as an integer or the column name as a String object. I show both approaches in the code.
通过指定整数类型的列索引,或String对象类型的列名,就可以获得一个列的值。
Add the code in Listing 12 to the DELETE case in the index action.
将清单12中的代码添加到index操作中的DELETEcase中。
The next two queries cannot use an index because an element "phone408" needs to be returned for every author, even if it is an empty element for authors outside the 408 area code.
下面两个查询不能使用索引,因为必须为每个author返回元素“phone408”,即使是区号408之外的author的空元素。
With host variables or literals, DB2 does not consider this factor for non-index predicates; only you can take this fact into account and code accordingly.
使用主变量或实际文本时,DB 2不会对非索引考虑这个因素;只有您能够考虑这个因素并相应编码。
Consider the code in Listing 6, which does just that, all using index-based access.
考虑清单6中的代码,它就是完成这项工作的,这里全部使用了基于索引的访问。
应用推荐