PHP 8.4.0 Alpha 2 available for testing

SolrCollapseFunction::setHint

(PECL solr >= 2.2.0)

SolrCollapseFunction::setHintSets collapse hint

Descrição

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

Sets collapse hint

Parâmetros

hint

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

Valor Retornado

SolrCollapseFunction

Exemplos

Exemplo #1 SolrCollapseFunction::setHint() example

<?php

/* ... */

?>

O exemplo acima produzirá algo semelhante a:

...
add a note

User Contributed Notes

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