它所关注的是只要搜索词来自于一个正常的表单提交过程,它就使用该数据来完成查询,然后返回匹配该搜索词的那些记录。
As far as it's concerned, the search term comes from an ordinary form submit process, and it USES that data to complete a query, then return the records that match that term.
我们的搜索表单会包含这三个字段用于一个可定制的搜索:查询,返回结果的最大个数,结果页面中每页显示的个数。
Our search form will include three fields for a customizable search: the query, the maximum number of results to return, and the number of entries to display per result page.
之后就可以创建包含了搜索表单的查询文档并显示结果。
You can then create query documents that contain the search form and display the results.
我们来看一个简单的HTML表单,它向本地机器上假想的查询引擎提交一个搜索字符串(如清单1所示)。
Let's take a look at a simple HTML form that submits a search string to an imaginary query engine running on your local machine (see Listing 1).
合并元数据条件的另一个方法是使用查询表单,其字段对应于元数据模式的元素。
Another way to incorporate metadata conditions is to use a query form, whose fields correspond to the elements of the metadata schema.
对表单更改后,它能够启动在查询字符串中向其提供ID 的活页夹视图。
The changes made to the form enable it to launch a binder view given its ID in the query string.
这些参数是由服务器根据同名表单元素中的值自动设置的,它们变成了HTTPPOST查询参数。
These are automatically set by the server to the values from the form elements of the same name, which become HTTP POST query arguments.
在本例中,您需要创建一个用户可以填写的表单,以指定搜索查询和这些查询的结果。
In this case you need to create a form the user can fill out to specify a search query, as well the result of those queries.
创建一个简单HTML表单编写和提交查询。
该表单包含一些建议查询供用户参考。
This form includes some suggested queries to jumpstart the user.
当您选择查询或从下拉菜单中添加时,光标位于表单第一行字段,可用utf来表示解释数据字段的消息,如清单5所示。
When you select Query or Add from the Menu dropdown, the cursor is positioned at the first field of the form, and the message that explains the data field can be in UTF, as shown in Listing 5.
用户在该表单中输入的字符串将随后用于创建查询对象。
The string that was entered by the user in that form is then used to create a query object.
在运行时,这个平台将管理所有数据库事务,发出SQL查询,缓存结果并将结果绑定到表单和API对象。
At runtime, the platform will manage all database transactions, issuing SQL queries, caching and binding results to forms and API objects.
在您提交表单时,查询字符串被作为URL 编码的查询字符串提交给YQL服务。
When you submit the form, the query string is submitted to the YQL service as a URL-encoded query string.
用户在Web表单内输入一个或多个查询条件并单击Submit。
The user enters one or more query terms on a Web form and clicks Submit.
会话标识可以用三种方式中一种进行传递:作为HTML表单中的参数(通常是隐藏字段);作为附加在查询字符串后的参数;或者作为cookie 的属性。
The session ID can be passed in one of three ways: as a parameter in an HTML form (typically a hidden field); as a parameter appended to the query string; or as an attribute of a cookie.
因此,如果要保留原始页面的表单数据和查询字符串集合,必须把目标页面page指令的EnableViewStateMac属性设置成False。
Therefore, when you choose to preserve the form and query string collection of the original page, you must set the EnableViewStateMac attribute of the page directive to False for the destination page.
HTML表单通常用x - www -formurlencoded查询字符串提交数据。
HTML forms usually submit data in an x-www-formurlencoded query string.
清单2所示的是另一个可在linkedmdb.org的SNOR QL表单上尝试使用的查询。
Listing 2 shows another query to try on linkedmdb.org's SNORQL form.
用jQuery序列化表单数据比较容易:您只需要访问form元素和调用serialize功能获取一个标准查询字符串。
Serializing the form data is easy with jQuery: You simply access the form element and call the serialize function to get a standard query string.
在提交包含城市名称的Web表单以后,清单5使用Zend _ Rest_Client组件发送y QL查询到天气服务。
After the web form is submitted with a city name, Listing 5 USES the Zend_Rest_Client component to send a YQL query to the weather service.
若访问它们的SNOR QL表单,粘贴进上述两个查询中的任何一个,并单击Go !
If you go to their SNORQL form, paste in either of the two queries above, and click go!
请您查看command . js的完整清单,看看如何对这些表单元素进行查询,提取出用户的数据,然后构造出HTTP的GET请求所要求的参数字符串。
See the full listing for commands.js to see how these form elements are queried to extract the user's data and to construct a parameter string suitable for a HTTP GET request.
人工任务控制台:一个基于Web的应用,可用来查询任务列表,填写任务表单等。
Human task Console: a web-based application that can be used to look up task lists, fill in task forms, etc.
第二个表单是实际的搜索表单,用来提交查询并显示搜索结果。
The second is the actual search form used for submitting queries and displaying search results.
除了使用查询表提取额外元数据之外,还可以使用其他技术让表单与其他用户界面开发标准保持一致。
In addition to using lookup tables to extract additional metadata, other techniques can be used to make the form consistent with other user interface development standards.
在以xsl变量的形式导入这些文件之后,可以按照查询表策略在表单中使用它们(见清单3)。
After these files are imported as XSL variables, they can be used in the forms with a lookup-table strategy (see Listing 3).
对于这些搜索表单,由一个数据库视图列出查询发起者、查询提交的日期和时间以及查询所包括的关键词。
A database view of these search forms is provided that lists the author of the query, the date and time the query was submitted and the keywords used in the query.
很多sparql端点,包括linkedmdb.org上的这个,都会提供基于表单的界面来尝试使用SPARQL查询。
Many SPARQL endpoints, including the one at linkedmdb.org, offer a form-based interface for you to try SPARQL queries.
另外,可以从DB 2CommandWindow运行简单查询来测试表单数据是如何存储的。
In addition, you can run simple queries from a DB2 Command Window to test how the form data was stored.
应用推荐