PHPのお勉強!

PHP TOP

SolrCollapseFunction::setHint

(PECL solr >= 2.2.0)

SolrCollapseFunction::setHintSets collapse hint

説明

public SolrCollapseFunction::setHint(string $hint): SolrCollapseFunction

Sets collapse hint

パラメータ

hint

Currently there is only one hint available "top_fc", which stands for top level FieldCache

例1 SolrCollapseFunction::setHint() example

<?php

/* ... */

?>

上の例の出力は、 たとえば以下のようになります。

...
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top