Results of 1 - 10 of about 54 for facet (0.002 sec.)
- The SolrQuery class | PHP 8.3 13928
- The SolrQuery class (PECL solr >= 0.9.2) はじめに Represents a collection of name-value pairs sent to the Solr server during a request. クラス概要 class SolrQuery extends SolrModifiableParams implements Serializable { /* 定数 */ const int O
... RDER_ASC = 0 ; const int ORDER_DESC = 1 ; const int FACET_SORT_INDEX = 0 ; const int FACET_SORT_COUNT = 1 ; const int TERMS_SORT_INDEX = 0 ; const int TERMS_SORT_COUNT = 1 ; /* プロ ... ng $fq ): SolrQuery public function addExpandSortField ( string $field , string $order = ? ): SolrQuery public function addFacetDateField ( string $dateField ): SolrQuery public function addFacetDateOther ( string $value , string $field_override = ? ) ... : SolrQuery public function addFacetField ( string $field ): SolrQuery public function addFacetQuery ( string $facetQuery ): SolrQuery public function addField ...
-
https://man.mtool.work/php/8.3/class.solrquery.html
- Apache Solr | PHP 8.3 13246
- Apache Solr はじめに Solr 拡張モジュールにより、PHP で Apache Solr サーバーと効果的に通信できます。 Solr 拡張モジュールは、PHP 開発者が Solr サーバーのインスタンスと効果的に通信できるようにする、とても速くて軽量で、豊富な機能を持つライブラリ
... roup SolrQuery::addExpandSortField — Orders the documents within the expanded groups (expand.sort parameter) SolrQuery::addFacetDateField — Maps to facet.date SolrQuery::addFacetDateOther — Adds another facet.date.other parameter SolrQuery::addFacetFi ... eld — Adds another field to the facet SolrQuery::addFacetQuery — Adds a facet query SolrQuery::addField — Specifies which fields to return in the result SolrQue ... tQueryField — Maps to mlt.qf SolrQuery::addSortField — Used to control how the results should be sorted SolrQuery::addStatsFacet — Requests a return of sub results for values within the given facet SolrQuery::addStatsField — Maps to stats.field parame ...
-
https://man.mtool.work/php/8.3/book.solr.html
- SolrQuery::getFacetSort — Returns the facet sort type | PHP 8.3 10175
- SolrQuery::getFacetSort (PECL solr >= 0.9.2) SolrQuery::getFacetSort — Returns the facet sort type 説明 public function SolrQuery::getFacetSort ( string $field_override = ? ): int Returns an integer (SolrQuery::FACET_SORT_INDEX or SolrQuery
... ::FACET_SORT_COUNT) パラメータ field_override The name of the field 戻り値 Returns an integer (SolrQuery::FACET_SORT_INDEX or Solr ... Query::FACET_SORT_COUNT) on success or null if not set. 他のマニュアルの関連ページ Linux JM sort(1) ...
-
https://man.mtool.work/php/8.3/solrquery.getfacetsort.html
- SolrQuery::addFacetQuery — Adds a facet query | PHP 8.3 9033
- SolrQuery::addFacetQuery (PECL solr >= 0.9.2) SolrQuery::addFacetQuery — Adds a facet query 説明 public function SolrQuery::addFacetQuery ( string $facetQuery ): SolrQuery Adds a facet query パラメータ facetQuery The facet query 戻り値 Retu
... rns the current SolrQuery object, if the return value is used. 例 例1 SolrQuery::addFacetField() example <?php $options = array ( 'hostname' => SOLR_SERVER_HOSTNAME , 'login' => SOLR_SERVER_USERNAME , 'password' ... RD , 'port' => SOLR_SERVER_PORT , ); $client = new SolrClient ( $options ); $query = new SolrQuery ( '*:*' ); $query -> setFacet ( true ); $query -> addFacetQuery ( 'price:[* TO 500]' )-> addFacetQuery ( 'price:[500 TO *]' ); $query_response = $client ... -> query ( $query ); $response = $query_response -> getResponse (); print_r ( $response -> facet_counts -> facet_queries ); ?> 上の例の出力は、 たとえば以下のようになります。 SolrObject Object ( [price:[* TO 500]] => 14 ...
-
https://man.mtool.work/php/8.3/solrquery.addfacetquery.html
- SolrQuery::setFacetSort — Determines the ordering of the facet field constraint... 8900
- SolrQuery::setFacetSort (PECL solr >= 0.9.2) SolrQuery::setFacetSort — Determines the ordering of the facet field constraints 説明 public function SolrQuery::setFacetSort ( int $facetSort , string $field_override = ? ): SolrQuery Determines
... the ordering of the facet field constraints パラメータ facetSort Use SolrQuery::FACET_SORT_INDEX for sorting by index order or SolrQuery::FACET_SORT ...
-
https://man.mtool.work/php/8.3/solrquery.setfacetsort.html
- 例 | PHP 8.3 8707
- 例 PHP で Apache Solr 拡張モジュールを使用する方法の例 例1 ブートストラップ・ファイルの内容 <?php /* Solr サーバーのドメイン名 */ define ( 'SOLR_SERVER_HOSTNAME' , 'solr.example.com' ); /* セキュアなモードで動作するかどうか */ define ( 'SOL
... RD , 'port' => SOLR_SERVER_PORT , ); $client = new SolrClient ( $options ); $query = new SolrQuery ( '*:*' ); $query -> setFacet ( true ); $query -> addFacetField ( 'cat' )-> addFacetField ( 'name' )-> setFacetMinCount ( 2 ); $updateResponse = $client ... -> query ( $query ); $response_array = $updateResponse -> getResponse (); $facet_data = $response_array -> facet_counts -> facet_fields ; print_r ( $facet_data ); ?> 上の例の出力は、 たとえば以下のように ... RD , 'port' => SOLR_SERVER_PORT , ); $client = new SolrClient ( $options ); $query = new SolrQuery ( '*:*' ); $query -> setFacet ( true ); $query -> addFacetField ( 'cat' )-> addFacetField ( 'name' )-> setFacetMinCount ( 2 )-> setFacetMinCount ( 4 , ' ...
-
https://man.mtool.work/php/8.3/solr.examples.html
- SolrQuery::addFacetDateField — Maps to facet.date | PHP 8.3 8158
- SolrQuery::addFacetDateField (PECL solr >= 0.9.2) SolrQuery::addFacetDateField — Maps to facet.date 説明 public function SolrQuery::addFacetDateField ( string $dateField ): SolrQuery This method allows you to specify a field which should be
... treated as a facet. It can be used multiple times with different field names to indicate multiple facet fields パラメータ dateField The name ...
-
https://man.mtool.work/php/8.3/solrquery.addfacetdatefield.html
- SolrQuery::setFacetDateHardEnd — Maps to facet.date.hardend | PHP 8.3 8158
- SolrQuery::setFacetDateHardEnd (PECL solr >= 0.9.2) SolrQuery::setFacetDateHardEnd — Maps to facet.date.hardend 説明 public function SolrQuery::setFacetDateHardEnd ( bool $value , string $field_override = ? ): SolrQuery Maps to facet.date.h
... ardend パラメータ value See facet.date.hardend field_override The name of the field 戻り値 Returns the current SolrQuery object, if the return value is used ...
-
https://man.mtool.work/php/8.3/solrquery.setfacetdatehardend.html
- SolrQuery::addFacetField — Adds another field to the facet | PHP 8.3 8099
- SolrQuery::addFacetField (PECL solr >= 0.9.2) SolrQuery::addFacetField — Adds another field to the facet 説明 public function SolrQuery::addFacetField ( string $field ): SolrQuery Adds another field to the facet パラメータ field The name of
... the field 戻り値 Returns the current SolrQuery object, if the return value is used. 例 例1 SolrQuery::addFacetField() example <?php $options = array ( 'hostname' => SOLR_SERVER_HOSTNAME , 'login' => SOLR_SERVER_USERNAME , 'password' ... ery = new SolrQuery (); $query -> setQuery ( $query ); $query -> addField ( 'price' )-> addField ( 'color' ); $query -> setFacet ( true ); $query -> addFacetField ( 'price' )-> addFacetField ( 'color' ); $query_response = $client -> query ( $query ); ... $response = $query_response -> getResponse (); print_r ( $response [ 'facet_counts' ][ 'facet_fields' ]); ?> 上の例の出力は、 たとえば以下のようになります。 SolrObject Object ( [color] => SolrObject ...
-
https://man.mtool.work/php/8.3/solrquery.addfacetfield.html
- SolrQuery::getFacetDateFields — Returns all the facet.date fields | PHP 8.3 8099
- SolrQuery::getFacetDateFields (PECL solr >= 0.9.2) SolrQuery::getFacetDateFields — Returns all the facet.date fields 説明 public function SolrQuery::getFacetDateFields (): array Returns all the facet.date fields パラメータ この関数にはパラメ
... ータはありません。 戻り値 Returns all the facet.date fields as an array or null if none was set 他のマニュアルの関連ページ Django index Django 1.11.2 Django indexes Djang ...
-
https://man.mtool.work/php/8.3/solrquery.getfacetdatefields.html