« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 10 for manu (0.002 sec.)
Collapses the result set to a single document per group 12263
« SolrQuery::addStatsField SolrQuery::__construct » PHP Manual SolrQuery Collapses the result set to a single document per group 検索 SolrQuery::collapse (No version information available, might only be in Git) SolrQuery::collapse — Collaps ... ; $client = new SolrClient ( $options ); $query = new SolrQuery ( '*:*' ); $collapseFunction = new SolrCollapseFunction ( 'manu_id_s' ); $collapseFunction -> setSize ( 2 ) -> setNullPolicy ( SolrCollapseFunction :: NULLPOLICY_IGNORE ); $query -> coll ... ect Object ( [status] => 0 [QTime] => 1 [params] => SolrObject Object ( [q] => *:* [indent] => on [fq] => {!collapse field=manu_id_s size=2 nullPolicy=ignore} [rows] => 4 [version] => 2.2 [wt] => xml ) ) [response] => SolrObject Object ( [numFound] = ... Object Object ( [id] => SP2514N [name] => Array ( [0] => Samsung SpinPoint P120 SP2514N - hard drive - 250 GB - ATA-133 ) [manu] => Array ( [0] => Samsung Electronics Co. Ltd. ) [manu_id_s] => samsung [cat] => Array ( [0] => electronics [1] => hard d ...
https://man.mtool.work/php/8.3/solrquery.collapse.html
Collapses the result set to a single document per group 12263
« SolrQuery::addStatsField SolrQuery::__construct » PHP Manual SolrQuery Collapses the result set to a single document per group 検索 SolrQuery::collapse (No version information available, might only be in Git) SolrQuery::collapse — Collaps ... ; $client = new SolrClient ( $options ); $query = new SolrQuery ( '*:*' ); $collapseFunction = new SolrCollapseFunction ( 'manu_id_s' ); $collapseFunction -> setSize ( 2 ) -> setNullPolicy ( SolrCollapseFunction :: NULLPOLICY_IGNORE ); $query -> coll ... ect Object ( [status] => 0 [QTime] => 1 [params] => SolrObject Object ( [q] => *:* [indent] => on [fq] => {!collapse field=manu_id_s size=2 nullPolicy=ignore} [rows] => 4 [version] => 2.2 [wt] => xml ) ) [response] => SolrObject Object ( [numFound] = ... Object Object ( [id] => SP2514N [name] => Array ( [0] => Samsung SpinPoint P120 SP2514N - hard drive - 250 GB - ATA-133 ) [manu] => Array ( [0] => Samsung Electronics Co. Ltd. ) [manu_id_s] => samsung [cat] => Array ( [0] => electronics [1] => hard d ...
https://man.mtool.work/php/8.3/solrquery.collapse.html
Directly Sets Boost Query Parameter (bq) 8938
« SolrDisMaxQuery::setBoostFunction SolrDisMaxQuery::setMinimumMatch » PHP Manual SolrDisMaxQuery Directly Sets Boost Query Parameter (bq) 検索 SolrDisMaxQuery::setBoostQuery (No version information available, might only be in Git) SolrDisM ... ostQuery() example <?php $dismaxQuery = new SolrDisMaxQuery ( "lucene" ); $dismaxQuery -> setBoostQuery ( 'cat:electronics manu:local^2' ); echo $dismaxQuery . PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 q=lucene&defType=edismax&bq=c ... at:electronics manu:local^2 参考 SolrDisMaxQuery::addBoostQuery() - Adds a boost query field with value and optional boost (bq parameter) Solr ... ワード: SolrDisMaxQuery bq setBoostQuery Sets Boost Query Parameter Directly query dismaxQuery boost lucene cat electronics manu local field setBoostFunction Search setMinimumMatch ...
https://man.mtool.work/php/8.3/solrdismaxquery.setboostquery.html
Directly Sets Boost Query Parameter (bq) 8938
« SolrDisMaxQuery::setBoostFunction SolrDisMaxQuery::setMinimumMatch » PHP Manual SolrDisMaxQuery Directly Sets Boost Query Parameter (bq) 検索 SolrDisMaxQuery::setBoostQuery (No version information available, might only be in Git) SolrDisM ... ostQuery() example <?php $dismaxQuery = new SolrDisMaxQuery ( "lucene" ); $dismaxQuery -> setBoostQuery ( 'cat:electronics manu:local^2' ); echo $dismaxQuery . PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 q=lucene&defType=edismax&bq=c ... at:electronics manu:local^2 参考 SolrDisMaxQuery::addBoostQuery() - Adds a boost query field with value and optional boost (bq parameter) Solr ... 関連キーワード: SolrDisMaxQuery setBoostQuery Sets Boost Query Parameter Directly query dismaxQuery boost lucene electronics manu local setBoostFunction setMinimumMatch information available example defType edismax 参考 addBoostQuery Adds optional ...
https://man.mtool.work/php/8.3/solrdismaxquery.setboostquery.html
例 8348
« solr_get_version SolrUtils » PHP Manual Solr 例 検索 例 PHP で Apache Solr 拡張モジュールを使用する方法の例 例1 ブートストラップ・ファイルの内容 <?php /* Solr サーバーのドメイン名 */ define ( 'SOLR_SERVER_HOSTNAME' , 'solr.example.com' ); ... new SolrClient ( $options ); $query = new SolrQuery ( '*:*' ); $query -> setFacet ( true ); $query -> addFacetDateField ( 'manufacturedate_dt' ); $query -> setFacetDateStart ( '2006-02-13T00:00:00Z' ); $query -> setFacetDateEnd ( '2012-02-13T00:00:00 ... t_counts -> facet_dates ; print_r ( $facet_data ); ?> 上の例の出力は、 たとえば以下のようになります。 SolrObject Object ( [manufacturedate_dt] => SolrObject Object ( [2006-02-13T00:00:00Z] => 9 [2007-02-13T00:00:00Z] => 0 [2008-02-13T00:00:00Z] => 0 ... ; $client = new SolrClient ( $options ); $query = new SolrQuery ( '*:*' ); $collapseFunction = new SolrCollapseFunction ( 'manu_id_s' ); $collapseFunction -> setSize ( 2 ) -> setNullPolicy ( SolrCollapseFunction :: NULLPOLICY_IGNORE ); $query -> coll ...
https://man.mtool.work/php/8.3/solr.examples.html
例 8348
« solr_get_version SolrUtils » PHP Manual Solr 例 検索 例 PHP で Apache Solr 拡張モジュールを使用する方法の例 例1 ブートストラップ・ファイルの内容 <?php /* Solr サーバーのドメイン名 */ define ( 'SOLR_SERVER_HOSTNAME' , 'solr.example.com' ); ... new SolrClient ( $options ); $query = new SolrQuery ( '*:*' ); $query -> setFacet ( true ); $query -> addFacetDateField ( 'manufacturedate_dt' ); $query -> setFacetDateStart ( '2006-02-13T00:00:00Z' ); $query -> setFacetDateEnd ( '2012-02-13T00:00:00 ... t_counts -> facet_dates ; print_r ( $facet_data ); ?> 上の例の出力は、 たとえば以下のようになります。 SolrObject Object ( [manufacturedate_dt] => SolrObject Object ( [2006-02-13T00:00:00Z] => 9 [2007-02-13T00:00:00Z] => 0 [2008-02-13T00:00:00Z] => 0 ... ; $client = new SolrClient ( $options ); $query = new SolrQuery ( '*:*' ); $collapseFunction = new SolrCollapseFunction ( 'manu_id_s' ); $collapseFunction -> setSize ( 2 ) -> setNullPolicy ( SolrCollapseFunction :: NULLPOLICY_IGNORE ); $query -> coll ...
https://man.mtool.work/php/8.3/solr.examples.html
Enables/Disables the Expand Component 8348
« SolrQuery::setEchoParams SolrQuery::setExpandQuery » PHP Manual SolrQuery Enables/Disables the Expand Component 検索 SolrQuery::setExpand (PECL solr >= 2.2.0) SolrQuery::setExpand — Enables/Disables the Expand Component 説明 public functi ... e' ); $query -> setExpand ( true ) -> setExpandRows ( 50 ) -> setExpandQuery ( 'text:product' ) -> addExpandFilterQuery ( 'manu:apple' ) -> addExpandFilterQuery ( 'inStock:true' ) -> addExpandSortField ( 'score' , SolrQuery :: ORDER_DESC ) -> addExpa ... L ; ?> 上の例の出力は、 たとえば以下のようになります。 q=lucene&expand=true&expand.rows=50&expand.q=text:product&expand.fq=manu:apple&expand.fq=inStock:true&expand.sort=score desc,title asc 参考 SolrQuery::addExpandSortField() - Orders the documents ... and Component sort setExpandQuery addExpandFilterQuery addExpandSortField rows parameter lucene setExpandRows text product manu apple inStock score title documents Removes ...
https://man.mtool.work/php/8.3/solrquery.setexpand.html
Get Documents by their Ids. Utilizes Solr Realtime Get (RTG) 7758
« SolrClient::getById SolrClient::getDebug » PHP Manual SolrClient Get Documents by their Ids. Utilizes Solr Realtime Get (RTG) 検索 SolrClient::getByIds (PECL solr >= 2.2.0) SolrClient::getByIds — Get Documents by their Ids. Utilizes Solr ... ] => SolrObject Object ( [id] => 6H500F0 [name] => Array ( [0] => Maxtor DiamondMax 11 - hard drive - 500 GB - SATA-300 ) [manu] => Array ( [0] => Maxtor Corp. ) [manu_id_s] => maxtor [cat] => Array ( [0] => electronics [1] => hard drive ) [features] ... > 350 ) [popularity] => Array ( [0] => 6 ) [inStock] => Array ( [0] => 1 ) [store] => Array ( [0] => 45.17614,-93.87341 ) [manufacturedate_dt] => 2006-02-13T15:26:37Z [_version_] => 1510294336449806336 ) ) ) ) 参考 SolrClient::getById() - Get Documen ... SolrObject response getById SolrQueryResponse Document options client features translated price inStock Maxtor hard drive manu getDebug solr example ...
https://man.mtool.work/php/8.3/solrclient.getbyids.html
Enables/Disables the Expand Component 7276
« SolrQuery::setEchoParams SolrQuery::setExpandQuery » PHP Manual SolrQuery Enables/Disables the Expand Component 検索 SolrQuery::setExpand (PECL solr >= 2.2.0) SolrQuery::setExpand — Enables/Disables the Expand Component 説明 public functi ... e' ); $query -> setExpand ( true ) -> setExpandRows ( 50 ) -> setExpandQuery ( 'text:product' ) -> addExpandFilterQuery ( 'manu:apple' ) -> addExpandFilterQuery ( 'inStock:true' ) -> addExpandSortField ( 'score' , SolrQuery :: ORDER_DESC ) -> addExpa ... L ; ?> 上の例の出力は、 たとえば以下のようになります。 q=lucene&expand=true&expand.rows=50&expand.q=text:product&expand.fq=manu:apple&expand.fq=inStock:true&expand.sort=score desc,title asc 参考 SolrQuery::addExpandSortField() - Orders the documents ...
https://man.mtool.work/php/8.3/solrquery.setexpand.html
Get Documents by their Ids. Utilizes Solr Realtime Get (RTG) 6793
« SolrClient::getById SolrClient::getDebug » PHP Manual SolrClient Get Documents by their Ids. Utilizes Solr Realtime Get (RTG) 検索 SolrClient::getByIds (PECL solr >= 2.2.0) SolrClient::getByIds — Get Documents by their Ids. Utilizes Solr ... ] => SolrObject Object ( [id] => 6H500F0 [name] => Array ( [0] => Maxtor DiamondMax 11 - hard drive - 500 GB - SATA-300 ) [manu] => Array ( [0] => Maxtor Corp. ) [manu_id_s] => maxtor [cat] => Array ( [0] => electronics [1] => hard drive ) [features] ... > 350 ) [popularity] => Array ( [0] => 6 ) [inStock] => Array ( [0] => 1 ) [store] => Array ( [0] => 45.17614,-93.87341 ) [manufacturedate_dt] => 2006-02-13T15:26:37Z [_version_] => 1510294336449806336 ) ) ) ) 参考 SolrClient::getById() - Get Documen ...
https://man.mtool.work/php/8.3/solrclient.getbyids.html
PREV 1 NEXT