Next we create a query object for the given search phrase.
接着我们用给定的搜索短语创建一个查询对象。
These create methods return a query object, which encapsulates a parsed query.
这些create方法返回Query对象,这个对象封装了解析后的查询。
The string that was entered by the user in that form is then used to create a query object.
用户在该表单中输入的字符串将随后用于创建查询对象。
If both types of query exist on your query object, then your connector should execute a combined query.
如果在查询对象上存在这两种查询,那么连接器应该执行组合查询。
It is the job of the resource collection to convert the query object to a query string in a format expected by the feed servlet, such as SQL or XPath.
资源集合要负责将查询对象转换为采用FeedServlet所预期的格式的查询字符串,如SQL或Xpath。
If you need to keep the original query around, you can create a new query object.
如果你需要保存原来的询问,你可以创建一个新的询问对象。
By manipulating the Query object, you can modify the searches executed by your end users.
通过操作Query对象,您可以修改由最终用户执行的搜索。
The Query object wraps the search keyword, and the QueryResult object wraps the search results.
Query对象包装搜索关键词,QueryResult 对象包装搜索结果。
But before we do we must build a SIAPI Query object from the search string and other parameters provided by the user.
但在此之前,我们必须按照搜索字符串和用户提供的其他参数建立一个SIAPIQuery对象。
The QueryParser takes a query string, much like what you'd put into an Internet search engine, and generates a Query object.
QueryParser 拿到一个查询字符串,就像你放进Internet搜索引擎中的,生成一个Query对象。
With a valid SIAPI Query object, the ISearchHelper.search method is invoked to actually execute the search request against the search server.
在有效的SIAPIQuery对象中,将调用ISearchHelper . search方法对搜索服务器实际执行搜索请求。
With a valid SIAPI Query object, the ISearchHelper.search method is invoked to actually execute the search request against the search server.
在有效的SIAPIQuery对象中,将调用ISearchHelper . search方法对搜索服务器实际执行搜索请求。
应用推荐