Home
last modified time | relevance | path

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

12

/plugin/code2/
Dsyntax.php124 $hits = array();
126 $sections[$i], $hits)) {
127 unset($hits[0]);
128 $sections[$i] = $HEAD . $hits[1] . $CLOSE;
130 $sections[$i], $hits)) {
131 unset($hits[0]); // free mem
133 $hits[2], -1, PREG_SPLIT_DELIM_CAPTURE);
151 $sections[$i] = $DEL . $hits[1] . $CLOSE
261 $hits = array();
263 && preg_match('|(\d+)\.(\d+)\.(\d+)\.(\d+)|', GESHI_VERSION, $hits)
[all …]
/plugin/lists/
Dsyntax.php206 $hits = array();
207 if (preg_match('|\n*((\s*)(.))|', $aMatch, $hits)) {
208 return array($aState, $hits[3],
209 strlen(str_replace(' ', "\t", $hits[2])));
213 $hits = array();
214 if (preg_match('|^\s*\x3C$|', $aMatch, $hits)) {
217 if (preg_match('|(.*?)\s+\x3C$|s', $aMatch, $hits)) {
220 str_replace('\<', '<', $hits[1])), +1);
222 if (preg_match('|(.*[^\x5C])\x3C$|s', $aMatch, $hits)) {
225 str_replace('\<', '<', $hits[1])), +1);
[all …]
/plugin/lang/
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/
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();
391 if (preg_match('|\s*<p>\s*$|i', $aRenderer->doc, $hits)) {
394 0, -strlen($hits[0]));
438 $hits = array();
[all …]
/plugin/diff/
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/
DCollapse.php32 $hits = [];
37 … $hits = $existingInnerHits instanceof InnerHits ? [$existingInnerHits] : $existingInnerHits;
40 $hits[] = $innerHits;
42 return $this->setParam('inner_hits', $hits);
/plugin/statdisplay/helper/
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/
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/
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']) > 0) {
278 // Do your work here, on the $response['hits']['hits'] array
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) {
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
Dfutures.asciidoc245 $searchResults = $futures['searchRequest']['hits'];
265 example, `$response['hits']['hits']`) since FutureArrayInterface automatically
/plugin/hr/
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/
DEntryTag.php24 $hits = preg_match_all($this->_regex, $text, $matches, PREG_SET_ORDER);
25 if ($hits > 0) {
DEntryDefault.php44 $hits = preg_match_all($this->_regex, $text, $matches, PREG_SET_ORDER);
45 if ($hits > 0) {
DEntryVerse.php33 $hits = preg_match_all($this->_regex, $text, $matches, PREG_SET_ORDER);
34 if ($hits > 0) {
/plugin/nstoc/
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/docsearch/action/
Dsearch.php44 foreach($data as $id => $hits) {
46 $searchResults[$id]['hits'] = $hits;
/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/
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/
DREADME.md284 an array named `hits`. This represents your search results. Inside of `hits` is another array nam…
300 [hits] => Array
309 [hits] => Array
/plugin/const/
Daction.php42 function _replacecallback($hits) { argument
/plugin/dokucrypt2/
DREADME.md26 When the user hits 'Save' (or a draft is attempted to be saved) a prompt will open, asking the user…
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/build/Elasticsearch/Namespaces/
DRollupNamespace.asciidoc129 $params['rest_total_hits_as_int'] = (boolean) Indicates whether hits.total should be rendered as an…
DAsyncSearchNamespace.asciidoc99 $params['size'] = (number) Number of hits to return (default: 10)

12