Home
last modified time | relevance | path

Searched refs:hits (Results 1 – 25 of 38) sorted by relevance

12

/plugin/code2/
H A Dsyntax.php265 $hits[1] * 1, $hits[2] * 1, $hits[3] * 1, $hits[4] * 1))
689 if (isset($hits[3]) && ($hits[3])) {
691 if (isset($hits[4]) && ($hits[4])) {
694 $hits[3] = $hits[4] = FALSE;
695 } else if (isset($hits[1]) && ($hits[1])) {
697 $hits[2] = (isset($hits[2]))
701 $hits[1] = $hits[2] = FALSE;
705 if (isset($hits[7]) && ($hits[7])) {
706 $hits[6] = (isset($hits[6]))
719 $hits[8] = strtolower($hits[8]) . 's';
[all …]
/plugin/lists/
H A Dsyntax.php206 $hits = array();
213 $hits = array();
277 $hits = array();
279 $hits = -strlen($hits[0]);
293 $hits = array();
300 $aRenderer->doc, $hits)) {
302 $hits = -strlen($hits[0]);
373 $hits = array();
375 $aRenderer->doc, $hits)) {
376 $hits = -strlen($hits[0]);
[all …]
/plugin/lang/
H A Dsyntax.php162 $hits = array();
165 if (preg_match('|\s+([a-z]{2,3})\s*>|i', $aMatch, $hits)) {
167 return array($aState, $hits[1]);
170 $aMatch, $hits)) {
172 return array($aState, $hits[1]);
174 if (preg_match('|\s+([ix]\-[a-z0-9]{2,})\s*>|i', $aMatch, $hits)) {
176 return array($aState, $hits[1]);
178 if (preg_match('|\s+([a-z]{2,3})\-.*\s*>|i', $aMatch, $hits)) {
180 return array($aState, $hits[1]);
/plugin/deflist/
H A Dsyntax.php356 $hits = array();
357 if (preg_match('|\s*<p>\s*$|i', $aRenderer->doc, $hits)) {
359 0, -strlen($hits[0])) . '<dl>';
370 $hits = array();
372 $aRenderer->doc, $hits)) {
374 0, -strlen($hits[0])) . '<dd><dl>';
390 $hits = array();
394 0, -strlen($hits[0]));
438 $hits = array();
440 $aRenderer->doc, $hits)) {
[all …]
/plugin/diff/
H A Dsyntax.php113 $hits = array();
115 $sections[$i], $hits)) {
116 unset($hits[0]);
117 $sections[$i] = $HEAD . $hits[1] . $CLOSE;
119 $sections[$i], $hits)) {
120 unset($hits[0]); // free mem
122 $hits[2], -1, PREG_SPLIT_DELIM_CAPTURE);
140 $sections[$i] = $DEL . $hits[1] . $CLOSE
/plugin/elasticsearch/vendor/ruflin/elastica/src/
H A DCollapse.php23 * Set inner hits for collapsed field.
32 $hits = [];
37 $hits = $existingInnerHits instanceof InnerHits ? [$existingInnerHits] : $existingInnerHits;
40 $hits[] = $innerHits;
42 return $this->setParam('inner_hits', $hits);
/plugin/statdisplay/helper/
H A Dgraph.php67 $hits = array();
80 $hits[] = $data['hits']['all']['count'] ?? 0;
95 array($hits, $pages, $media, $visitors)
111 $hits = array();
122 $hits[] = $data['hits'][$by][$idx]['count'];
137 array($hits, $pages, $media, $visitors)
153 $hits = array();
161 $hits[] = $data['hits'][$by][$idx]['bytes'] / 1024;
174 array($hits, $pages, $media)
/plugin/tip/
H A Dsyntax.php223 $hits = array();
304 $hits = array();
305 if (preg_match('|\s*<p>\s*$|i', $aRenderer->doc, $hits)) {
307 0, -strlen($hits[0])) . '<div class="tipAll tip'
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dsearch-operations.asciidoc122 $maxScore = $results['hits']['max_score'];
124 $score = $results['hits']['hits'][0]['_score'];
125 $doc = $results['hits']['hits'][0]['_source'];
248 used to continue paginating through the hits.
275 while (isset($response['hits']['hits']) && count($response['hits']['hits']) >
[all...]
H A Dhelpers.asciidoc44 echo count($page['hits']['hits']), PHP_EOL;
76 $hits = new SearchHitIterator($pages);
78 // Sample usage of iterating over hits
79 foreach($hits as $hit) {
H A Dconnecting.asciidoc339 (`took`, `timed_out`, etc.) and an array named `hits`. This represents your
340 search results. Inside of `hits` is another array named `hits`, which contains
356 [hits] => Array
360 [hits] => Array
H A Dfutures.asciidoc245 $searchResults = $futures['searchRequest']['hits'];
265 example, `$response['hits']['hits']`) since FutureArrayInterface automatically
/plugin/hr/
H A Dsyntax.php209 $hits = array();
211 (preg_match('|\s*<p>(?:\s*</p>)*\s*$|', $aRenderer->doc, $hits))
212 ? substr($aRenderer->doc, 0, -strlen($hits[0])) . '<hr />'
/plugin/subjectindex/plugins/
H A DEntryTag.php24 $hits = preg_match_all($this->_regex, $text, $matches, PREG_SET_ORDER);
25 if ($hits > 0) {
H A DEntryDefault.php44 $hits = preg_match_all($this->_regex, $text, $matches, PREG_SET_ORDER);
45 if ($hits > 0) {
H A DEntryVerse.php33 $hits = preg_match_all($this->_regex, $text, $matches, PREG_SET_ORDER);
34 if ($hits > 0) {
/plugin/docsearch/action/
H A Dsearch.php44 foreach($data as $id => $hits) {
46 $searchResults[$id]['hits'] = $hits;
/plugin/nstoc/
H A Dsyntax.php266 $hits = $result = array();
268 "\n" . io_readfile(wikiFN($aID), FALSE), $hits, PREG_SET_ORDER)) {
270 if (($l = $cl + $this->_Hlevels[$hits[$i][1]])
274 $hits[$i][2]);
276 unset($hits[$i]); // free mem
/plugin/sphinxsearch-was/
H A Dsphinxapi.php1234 list($docs, $hits) = array_values(unpack("N*N*", substr($response, $p, 8)));
1238 "hits" => sprintf("%u", $hits)
1356 function BuildKeywords($query, $index, $hits) argument
1360 assert(is_bool($hits));
1376 $req .= pack("N", (int)$hits);
1414 if ($hits) {
/plugin/sphinxsearch/
H A Dsphinxapi.php1267 … list ( $docs, $hits ) = array_values ( unpack ( "N*N*", substr ( $response, $p, 8 ) ) ); $p += 8;
1270 "hits"=>sprintf ( "%u", $hits ) );
1390 function BuildKeywords ( $query, $index, $hits ) argument
1394 assert ( is_bool($hits) );
1411 $req .= pack ( "N", (int)$hits );
1447 if ( $hits )
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/
H A DREADME.md284 an array named `hits`. This represents your search results. Inside of `hits` is another array named `hits`, which contains
300 [hits] => Array
309 [hits] => Array
/plugin/const/
H A Daction.php42 function _replacecallback($hits) { argument
/plugin/dokucrypt2/
H A DREADME.md26 When the user hits 'Save' (or a draft is attempted to be saved) a prompt will open, asking the user to enter a pass phrase key for the encryption. Once supplied, the encryption will be done in the browser and the encrypted text submitted to the server.
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/build/Elasticsearch/Namespaces/
H A DRollupNamespace.asciidoc129 $params['rest_total_hits_as_int'] = (boolean) Indicates whether hits.total should be rendered as an integer or an object in the rest search response (Default = false)
H A DAsyncSearchNamespace.asciidoc99 $params['size'] = (number) Number of hits to return (default: 10)

12