Results of 1 - 10 of about 34 for lucene (0.001 sec.)
- SolrUtils::queryPhrase — Prepares a phrase from an unescaped lucene string | PH... 11967
- SolrUtils::queryPhrase (PECL solr >= 0.9.2) SolrUtils::queryPhrase — Prepares a phrase from an unescaped lucene string 説明 public static function SolrUtils::queryPhrase ( string $str ): string Prepares a phrase from an unescaped lucene str
... ing. パラメータ str The lucene phrase. 戻り値 Returns the phrase contained in double quotes. 他のマニュアルの関連ページ Python __main__ ...
-
https://man.mtool.work/php/8.3/solrutils.queryphrase.html
- 例 | PHP 8.3 10609
- 例 PHP で Apache Solr 拡張モジュールを使用する方法の例 例1 ブートストラップ・ファイルの内容 <?php /* Solr サーバーのドメイン名 */ define ( 'SOLR_SERVER_HOSTNAME' , 'solr.example.com' ); /* セキュアなモードで動作するかどうか */ define ( 'SOL
... InputDocument (); $doc -> addField ( 'id' , 334455 ); $doc -> addField ( 'cat' , 'Software' ); $doc -> addField ( 'cat' , 'Lucene' ); $updateResponse = $client -> addDocument ( $doc ); print_r ( $updateResponse -> getResponse ()); ?> 上の例の出力は、 た ... Software' ; $doc [ 'cat' ] = 'Custom Search' ; $doc -> cat = 'Information Technology' ; $second_doc -> addField ( 'cat' , 'Lucene Search' ); $second_doc -> merge ( $doc , true ); print_r ( $second_doc -> toArray ()); ?> 上の例の出力は、 たとえば以下のよ ... , 'port' => SOLR_SERVER_PORT , ); $client = new SolrClient ( $options ); $query = new SolrQuery (); $query -> setQuery ( 'lucene' ); $query -> setStart ( 0 ); $query -> setRows ( 50 ); $query -> addField ( 'cat' )-> addField ( 'features' )-> addField ...
-
https://man.mtool.work/php/8.3/solr.examples.html
- SolrDisMaxQuery::removePhraseField — Removes a Phrase Field (pf parameter) | PH... 9938
- SolrDisMaxQuery::removePhraseField (No version information available, might only be in Git) SolrDisMaxQuery::removePhraseField — Removes a Phrase Field (pf parameter) 説明 public function SolrDisMaxQuery::removePhraseField ( string $field )
... ame 戻り値 SolrDisMaxQuery 例 例1 SolrDisMaxQuery::removePhraseField() example <?php $dismaxQuery = new SolrDisMaxQuery ( 'lucene' ); $dismaxQuery -> addPhraseField ( 'first' , 3 , 1 ) -> addPhraseField ( 'second' , 4 , 1 ) -> addPhraseField ( 'cat' , ... uery . PHP_EOL ; echo $dismaxQuery -> removePhraseField ( 'second' ); ?> 上の例の出力は、 たとえば以下のようになります。 q=lucene&defType=edismax&pf=first~1^3 second~1^4 cat^55 q=lucene&defType=edismax&pf=first~1^3 cat^55 参考 SolrDisMaxQuery::addPhras ...
-
https://man.mtool.work/php/8.3/solrdismaxquery.removephrasefield.html
- SolrDisMaxQuery::removeTrigramPhraseField — Removes a Trigram Phrase Field (pf3... 9938
- SolrDisMaxQuery::removeTrigramPhraseField (No version information available, might only be in Git) SolrDisMaxQuery::removeTrigramPhraseField — Removes a Trigram Phrase Field (pf3 parameter) 説明 public function SolrDisMaxQuery::removeTrigra
... り値 SolrDisMaxQuery 例 例1 SolrDisMaxQuery::removeTrigramPhraseField() example <?php $dismaxQuery = new SolrDisMaxQuery ( 'lucene' ); $dismaxQuery -> addTrigramPhraseField ( 'cat' , 2 , 5.1 ) -> addTrigramPhraseField ( 'feature' , 4.5 ) ; echo $dismaxQ ... erse $dismaxQuery -> removeTrigramPhraseField ( 'cat' ); echo $dismaxQuery . PHP_EOL ; ?> 上の例の出力は以下となります。 q=lucene&defType=%s&pf3=cat~5.1^2 feature^4.5 q=lucene&defType=%s&pf3=feature^4.5 参考 SolrDisMaxQuery::addTrigramPhraseField() - A ...
-
https://man.mtool.work/php/8.3/solrdismaxquery.removetrigramphrasefield.html
- SolrDisMaxQuery::removeBigramPhraseField — Removes phrase bigram field (pf2 par... 9762
- SolrDisMaxQuery::removeBigramPhraseField (No version information available, might only be in Git) SolrDisMaxQuery::removeBigramPhraseField — Removes phrase bigram field (pf2 parameter) 説明 public function SolrDisMaxQuery::removeBigramPhras
... 戻り値 SolrDisMaxQuery 例 例1 SolrDisMaxQuery::removeBigramPhraseField() example <?php $dismaxQuery = new SolrDisMaxQuery ( "lucene" ); $dismaxQuery -> addBigramPhraseField ( 'cat' , 2 , 5.1 ) -> addBigramPhraseField ( 'feature' , 4.5 ) ; echo $dismaxQue ... y -> removeBigramPhraseField ( 'cat' ); echo $dismaxQuery . PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 q=lucene&defType=edismax&pf2=cat~5.1^2 feature^4.5 q=lucene&defType=edismax&pf2=feature^4.5 参考 SolrDisMaxQuery::addBigramPhraseFi ...
-
https://man.mtool.work/php/8.3/solrdismaxquery.removebigramphrasefield.html
- SolrDisMaxQuery::removeQueryField — Removes a Query Field (qf parameter) | PHP ... 9586
- SolrDisMaxQuery::removeQueryField (No version information available, might only be in Git) SolrDisMaxQuery::removeQueryField — Removes a Query Field (qf parameter) 説明 public function SolrDisMaxQuery::removeQueryField ( string $field ): So
... Name 戻り値 SolrDisMaxQuery 例 例1 SolrDisMaxQuery::removeQueryField() example <?php $dismaxQuery = new SolrDisMaxQuery ( 'lucene' ); $dismaxQuery -> addQueryField ( 'first' , 3 ) -> addQueryField ( 'second' , 0.2 ) -> addQueryField ( 'cat' ); echo $di ... ve field 'second' echo $dismaxQuery -> removeQueryField ( 'second' ); ?> 上の例の出力は、 たとえば以下のようになります。 q=lucene&defType=edismax&qf=first^3 second^0.2 cat q=lucene&defType=edismax&qf=first^3 cat 参考 SolrDisMaxQuery::addQueryField() - ...
-
https://man.mtool.work/php/8.3/solrdismaxquery.removequeryfield.html
- SolrDisMaxQuery::removeBoostQuery — Removes a boost query partial by field name... 9426
- SolrDisMaxQuery::removeBoostQuery (No version information available, might only be in Git) SolrDisMaxQuery::removeBoostQuery — Removes a boost query partial by field name (bq) 説明 public function SolrDisMaxQuery::removeBoostQuery ( string
... Name 戻り値 SolrDisMaxQuery 例 例1 SolrDisMaxQuery::removeBoostQuery() example <?php $dismaxQuery = new SolrDisMaxQuery ( "lucene" ); $dismaxQuery -> addBoostQuery ( 'cat' , 'electronics' , 5.1 ) -> addBoostQuery ( 'cat' , 'hard drive' ) ; echo $dismax ... maxQuery -> removeBoostQuery ( 'cat' ); echo $dismaxQuery . PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 q=lucene&defType=edismax&bq=cat:electronics^5.1 cat:hard drive q=lucene&defType=edismax&bq=cat:hard drive 参考 SolrDisMaxQuery::add ...
-
https://man.mtool.work/php/8.3/solrdismaxquery.removeboostquery.html
- SolrDisMaxQuery::removeUserField — Removes a field from The User Fields Paramet... 9426
- SolrDisMaxQuery::removeUserField (No version information available, might only be in Git) SolrDisMaxQuery::removeUserField — Removes a field from The User Fields Parameter (uf) 説明 public function SolrDisMaxQuery::removeUserField ( string
... Name 戻り値 SolrDisMaxQuery 例 例1 SolrDisMaxQuery::removeUserField() example <?php $dismaxQuery = new SolrDisMaxQuery ( 'lucene' ); $dismaxQuery -> addUserField ( 'cat' ) -> addUserField ( 'text' ) -> addUserField ( '*_dt' ) ; echo $dismaxQuery . PHP ... maxQuery -> removeUserField ( 'text' ); echo $dismaxQuery . PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになります。 q=lucene&defType=%s&uf=cat text *_dt q=lucene&defType=%s&uf=cat *_dt 参考 SolrDisMaxQuery::addUserField() - Adds a field to User Fi ...
-
https://man.mtool.work/php/8.3/solrdismaxquery.removeuserfield.html
- SolrDisMaxQuery::__construct — Class Constructor | PHP 8.3 8404
- SolrDisMaxQuery::__construct (No version information available, might only be in Git) SolrDisMaxQuery::__construct — Class Constructor 説明 public function SolrDisMaxQuery::__construct ( string $q = ? ) Class constructor initializes the obj
... an invalid parameter was passed. 例 例1 SolrDisMaxQuery::__construct() example <?php $dismaxQuery = new SolrDisMaxQuery ( 'lucene' ); echo $dismaxQuery ; ?> 上の例の出力は以下となります。 q=lucene&defType=edismax 他のマニュアルの関連ページ DuckDB C++ A ...
-
https://man.mtool.work/php/8.3/solrdismaxquery.construct.html
- SolrDisMaxQuery::setBigramPhraseSlop — Sets Bigram Phrase Slop (ps2 parameter) ... 8404
- SolrDisMaxQuery::setBigramPhraseSlop (No version information available, might only be in Git) SolrDisMaxQuery::setBigramPhraseSlop — Sets Bigram Phrase Slop (ps2 parameter) 説明 public function SolrDisMaxQuery::setBigramPhraseSlop ( string
... p 戻り値 SolrDisMaxQuery 例 例1 SolrDisMaxQuery::setBigramPhraseSlop() example <?php $dismaxQuery = new SolrDisMaxQuery ( 'lucene' ); $dismaxQuery -> setBigramPhraseSlop ( 5 ); echo $dismaxQuery . PHP_EOL ; ?> 上の例の出力は、 たとえば以下のようになりま ... す。 q=lucene&defType=edismax&ps2=5 ...
-
https://man.mtool.work/php/8.3/solrdismaxquery.setbigramphraseslop.html