Lines Matching refs:query
1944 // read the search query and add suggestions to gMatches
2005 // Check if query matches any tags; work backwards toward 1 to assist ranking
2039 // Check if query matches any tags; work backwards toward 1 to assist ranking
2047 // Check if query matches the doc title, but only for current language
2049 // if query matches the doc title
2071 // Check if query matches any tags; work backwards toward 1 to assist ranking
2079 // Check if query matches the doc title, but only for current language
2081 // if query matches the doc title
2103 // Check if query matches any tags; work backwards toward 1 to assist ranking
2111 // Check if query matches the doc title, but only for current language
2113 // if query matches the doc title
2135 // Check if query matches any tags; work backwards toward 1 to assist ranking
2143 // Check if query matches the doc title, but only for current language
2145 // if query matches the doc title
2167 // Check if query matches any tags; work backwards toward 1 to assist ranking
2175 // Check if query matches the doc title, but only for current language
2177 // if query matches the doc title
2199 // Check if query matches any tags; work backwards toward 1 to assist ranking
2207 // Check if query matches the doc title, but only for current language
2209 // if query matches the doc title
2230 // Check if query matches any tags; work backwards toward 1 to assist ranking
2238 // Check if query matches the doc title, but only for current language
2240 // if query matches the doc title.t
2263 function rank_autocomplete_doc_results(query, matches) {
2264 query = query || '';
2271 // if the query matched a tag
2300 function rank_autocomplete_api_results(query, matches) {
2301 query = query || '';
2329 var queryLower = query.toLowerCase();
2375 /* Add emphasis to part of string that matches query */
2376 function highlight_autocomplete_result_labels(query) {
2377 query = query || '';
2381 var queryLower = query.toLowerCase();
2406 var query = document.getElementById('search_autocomplete').value;
2407 location.hash = 'q=' + query;
2422 searchControl.setSearchStartingCallback(this, function(control, searcher, query) {});
2502 searchControl.setSearchStartingCallback(this, function(control, searcher, query) {
2503 updateResultTitle(query);
2504 var query = document.getElementById('search_autocomplete').value;
2505 location.hash = 'q=' + query;
2509 searchControl.setSearchCompleteCallback(this, function(control, searcher, query) {
2516 // get query and execute the search
2527 // if there's no query in the url, don't search and make sure results are hidden
2561 // If the hash isn't a search query or there's an error in the query,
2563 if ((location.hash.indexOf("q=") == -1) || (query == "undefined")) {
2573 var query = decodeURI(getQuery(location.hash));
2574 searchControl.execute(query);
2579 updateResultTitle(query);
2582 function updateResultTitle(query) {
2583 $("#searchTitle").html("Results for <em>" + escapeHTML(query) + "</em>");
3440 query: $widget.data('query'),
3507 // items stacked, followed by the resource query
3668 var query = opts.query || '';
3669 var expressions = parseResourceQuery(query);
3801 function parseResourceQuery(query) {
3802 // Parse query into array of expressions (expression e.g. 'tag:foo + type:video')
3804 var expressionStrs = query.split(',') || [];
4182 var query = '[data-tab=' + $(this).data('tab') + ']';
4183 transitionWidget($tabs.filter(query));