udm_set_agent_param
導入
検索エンジン用の拡張モジュール
PHP Manual
Apache Solr
導入
インストール/設定
要件
インストール手順
実行時設定
リソース型
定義済み定数
Solr 関数
solr_get_version
— Apache Solr エクステンションの現行バージョンを返す
例
SolrUtils
— SolrUtils クラス
SolrUtils::digestXmlResponse
— Parses an response XML string into a SolrObject
SolrUtils::escapeQueryChars
— Escapes a lucene query string
SolrUtils::getSolrVersion
— Solr エクステンションの現行バージョンを返す
SolrUtils::queryPhrase
— Prepares a phrase from an unescaped lucene string
SolrInputDocument
— SolrInputDocument クラス
SolrInputDocument::addField
— 文書にフィールドを追加
SolrInputDocument::clear
— 入力した文書をリセット
SolrInputDocument::__clone
— SolrDocument のコピーを作成
SolrInputDocument::__construct
— コンストラクタ
SolrInputDocument::deleteField
— 文書からフィールドを除去
SolrInputDocument::__destruct
— デストラクタ
SolrInputDocument::fieldExists
— フィールドが存在するかチェック
SolrInputDocument::getBoost
— 文書に対する現行の boost 値を取得
SolrInputDocument::getField
— 名前でフィールドを取得
SolrInputDocument::getFieldBoost
— 特定のフィールドに対する boost 値を取得
SolrInputDocument::getFieldCount
— 文書内のフィールド数を返す
SolrInputDocument::getFieldNames
— 文書内のフィールドを全て含む配列を返す
SolrInputDocument::merge
— Merges one input document into another
SolrInputDocument::reset
— これは、SolrInputDocument::clear のエイリアスです
SolrInputDocument::setBoost
— この文書に対する boost 値を設定
SolrInputDocument::setFieldBoost
— フィールドに対するインデキシング時間の boost 値を設定
SolrInputDocument::sort
— Sorts the fields within the document
SolrInputDocument::toArray
— 入力した文書の配列表現を返す
SolrDocument
— The SolrDocument class
SolrDocument::addField
— 文書にフィールドを追加
SolrDocument::clear
— Drops all the fields in the document
SolrDocument::__clone
— SolrDocument オブジェクトのコピーを作成
SolrDocument::__construct
— コンストラクタ
SolrDocument::current
— 現行のフィールドを取得
SolrDocument::deleteField
— 文書からフィールドを除去
SolrDocument::__destruct
— デストラクタ
SolrDocument::fieldExists
— Checks if a field exists in the document
SolrDocument::__get
— プロパティとしてフィールドにアクセス
SolrDocument::getField
— 名前でフィールドを取得
SolrDocument::getFieldCount
— この文書内のフィールド数を返す
SolrDocument::getFieldNames
— 文書内のフィールド名の配列を返す
SolrDocument::getInputDocument
— Returns a SolrInputDocument equivalent of the object
SolrDocument::__isset
— フィールドが存在するかチェック
SolrDocument::key
— 現行のキーを返す
SolrDocument::merge
— Merges source to the current SolrDocument
SolrDocument::next
— 内部ポインタを次のフィールドに移動
SolrDocument::offsetExists
— 特定のフィールドが存在するかどうかチェック
SolrDocument::offsetGet
— フィールドを取得
SolrDocument::offsetSet
— 文書にフィールドを追加
SolrDocument::offsetUnset
— フィールドを除去
SolrDocument::reset
— SolrDocument::clear()へのエイリアス
SolrDocument::rewind
— 内部ポインタを先頭にリセット
SolrDocument::serialize
— カスタムのシリアライズで使われます
SolrDocument::__set
— Adds another field to the document
SolrDocument::sort
— Sorts the fields in the document
SolrDocument::toArray
— 文書の配列表現を返す
SolrDocument::unserialize
— Custom serialization of SolrDocument objects
SolrDocument::__unset
— 文書からフィールドを除去
SolrDocument::valid
— Checks if the current position internally is still valid
SolrDocumentField
— SolrDocumentField クラス
SolrDocumentField::__construct
— コンストラクタ
SolrDocumentField::__destruct
— デストラクタ
SolrObject
— SolrObject クラス
SolrObject::__construct
— Solr オブジェクトを生成
SolrObject::__destruct
— デストラクタ
SolrObject::getPropertyNames
— 全てのプロパティ名の配列を返す
SolrObject::offsetExists
— プロパティが存在するかチェック
SolrObject::offsetGet
— プロパティを取得するために使用される
SolrObject::offsetSet
— プロパティに対して値を設定
SolrObject::offsetUnset
— プロパティに対して値を設定
SolrClient
— The SolrClient class
SolrClient::addDocument
— Adds a document to the index
SolrClient::addDocuments
— Adds a collection of SolrInputDocument instances to the index
SolrClient::commit
— Finalizes all add/deletes made to the index
SolrClient::__construct
— Constructor for the SolrClient object
SolrClient::deleteById
— Delete by Id
SolrClient::deleteByIds
— Deletes by Ids
SolrClient::deleteByQueries
— Removes all documents matching any of the queries
SolrClient::deleteByQuery
— Deletes all documents matching the given query
SolrClient::__destruct
— SolrClient に対するデストラクタ
SolrClient::getDebug
— Returns the debug data for the last connection attempt
SolrClient::getOptions
— Returns the client options set internally
SolrClient::optimize
— Defragments the index
SolrClient::ping
— Checks if Solr server is still up
SolrClient::query
— Sends a query to the server
SolrClient::request
— Sends a raw update request
SolrClient::rollback
— Rollbacks all add/deletes made to the index since the last commit
SolrClient::setResponseWriter
— Sets the response writer used to prepare the response from Solr
SolrClient::setServlet
— Changes the specified servlet type to a new value
SolrClient::threads
— スレッドの状態をチェック
SolrResponse
— SolrResponse クラス
SolrResponse::getDigestedResponse
— シリアライズされた PHP データとして XML レスポンスを返す
SolrResponse::getHttpStatus
— レスポンスの HTTP ステータスを返す
SolrResponse::getHttpStatusMessage
— HTTP ステータスに関する詳細を返す
SolrResponse::getRawRequest
— Solr サーバーに送られた生のリクエストを返す
SolrResponse::getRawRequestHeaders
— Solr サーバーに送られた生のリクエストヘッダを返す
SolrResponse::getRawResponse
— Solr サーバーからの生のレスポンスを返す
SolrResponse::getRawResponseHeaders
— Solr サーバーからの生のレスポンスヘッダを返す
SolrResponse::getRequestUrl
— リクエストが送られた完全な URL を返す
SolrResponse::getResponse
— サーバーからの XML レスポンスを表現する SolrObject を返す
SolrResponse::setParseMode
— パースモードを設定
SolrResponse::success
— リクエストが成功したか
SolrQueryResponse
— SolrQueryResponse クラス
SolrQueryResponse::__construct
— コンストラクタ
SolrQueryResponse::__destruct
— デストラクタ
SolrUpdateResponse
— SolrUpdateResponse クラス
SolrUpdateResponse::__construct
— コンストラクタ
SolrUpdateResponse::__destruct
— デストラクタ
SolrPingResponse
— SolrPingResponse クラス
SolrPingResponse::__construct
— コンストラクタ
SolrPingResponse::__destruct
— デストラクタ
SolrPingResponse::getResponse
— サーバーからのレスポンスを返す
SolrGenericResponse
— SolrGenericResponse クラス
SolrGenericResponse::__construct
— コンストラクタ
SolrGenericResponse::__destruct
— デストラクタ
SolrParams
— SolrParams クラス
SolrParams::add
— これは、SolrParams::addParam に対するエイリアスです
SolrParams::addParam
— オブジェクトにパラメータを追加
SolrParams::get
— これは、SolrParams::getParam に対するエイリアスです。
SolrParams::getParam
— パラメータ値を返す
SolrParams::getParams
— URL エンコードされていないパラメータの配列を返す
SolrParams::getPreparedParams
— URL エンコードされたパラメータの配列を返す
SolrParams::serialize
— カスタムのシリアライズで使われます
SolrParams::set
— SolrParams::setParam のエイリアス
SolrParams::setParam
— パラメータを指定された値に設定
SolrParams::toString
— オブジェクト内の名前と値のペアのパラメータを全て返します
SolrParams::unserialize
— カスタムのシリアライズで使われます
SolrModifiableParams
— SolrModifiableParams クラス
SolrModifiableParams::__construct
— コンストラクタ
SolrModifiableParams::__destruct
— デストラクタ
SolrQuery
— The SolrQuery class
SolrQuery::addFacetDateField
— Maps to facet.date
SolrQuery::addFacetDateOther
— Adds another facet.date.other parameter
SolrQuery::addFacetField
— Adds another field to the facet
SolrQuery::addFacetQuery
— Adds a facet query
SolrQuery::addField
— Specifies which fields to return in the result
SolrQuery::addFilterQuery
— Specifies a filter query
SolrQuery::addHighlightField
— Maps to hl.fl
SolrQuery::addMltField
— Sets a field to use for similarity
SolrQuery::addMltQueryField
— 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 parameter
SolrQuery::__construct
— コンストラクタ
SolrQuery::__destruct
— デストラクタ
SolrQuery::getFacet
— Returns the value of the facet parameter
SolrQuery::getFacetDateEnd
— Returns the value for the facet.date.end parameter
SolrQuery::getFacetDateFields
— Returns all the facet.date fields
SolrQuery::getFacetDateGap
— Returns the value of the facet.date.gap parameter
SolrQuery::getFacetDateHardEnd
— Returns the value of the facet.date.hardend parameter
SolrQuery::getFacetDateOther
— Returns the value for the facet.date.other parameter
SolrQuery::getFacetDateStart
— Returns the lower bound for the first date range for all date faceting on this field
SolrQuery::getFacetFields
— Returns all the facet fields
SolrQuery::getFacetLimit
— Returns the maximum number of constraint counts that should be returned for the facet fields
SolrQuery::getFacetMethod
— Returns the value of the facet.method parameter
SolrQuery::getFacetMinCount
— Returns the minimum counts for facet fields should be included in the response
SolrQuery::getFacetMissing
— Returns the current state of the facet.missing parameter
SolrQuery::getFacetOffset
— Returns an offset into the list of constraints to be used for pagination
SolrQuery::getFacetPrefix
— Returns the facet prefix
SolrQuery::getFacetQueries
— Returns all the facet queries
SolrQuery::getFacetSort
— Returns the facet sort type
SolrQuery::getFields
— Returns the list of fields that will be returned in the response
SolrQuery::getFilterQueries
— Returns an array of filter queries
SolrQuery::getHighlight
— Returns the state of the hl parameter
SolrQuery::getHighlightAlternateField
— Returns the highlight field to use as backup or default
SolrQuery::getHighlightFields
— Returns all the fields that Solr should generate highlighted snippets for
SolrQuery::getHighlightFormatter
— Returns the formatter for the highlighted output
SolrQuery::getHighlightFragmenter
— Returns the text snippet generator for highlighted text
SolrQuery::getHighlightFragsize
— Returns the number of characters of fragments to consider for highlighting
SolrQuery::getHighlightHighlightMultiTerm
— Returns whether or not to enable highlighting for range/wildcard/fuzzy/prefix queries
SolrQuery::getHighlightMaxAlternateFieldLength
— Returns the maximum number of characters of the field to return
SolrQuery::getHighlightMaxAnalyzedChars
— Returns the maximum number of characters into a document to look for suitable snippets
SolrQuery::getHighlightMergeContiguous
— Returns whether or not the collapse contiguous fragments into a single fragment
SolrQuery::getHighlightRegexMaxAnalyzedChars
— Returns the maximum number of characters from a field when using the regex fragmenter
SolrQuery::getHighlightRegexPattern
— Returns the regular expression for fragmenting
SolrQuery::getHighlightRegexSlop
— Returns the deviation factor from the ideal fragment size
SolrQuery::getHighlightRequireFieldMatch
— Returns if a field will only be highlighted if the query matched in this particular field
SolrQuery::getHighlightSimplePost
— Returns the text which appears after a highlighted term
SolrQuery::getHighlightSimplePre
— Returns the text which appears before a highlighted term
SolrQuery::getHighlightSnippets
— Returns the maximum number of highlighted snippets to generate per field
SolrQuery::getHighlightUsePhraseHighlighter
— Returns the state of the hl.usePhraseHighlighter parameter
SolrQuery::getMlt
— Returns whether or not MoreLikeThis results should be enabled
SolrQuery::getMltBoost
— Returns whether or not the query will be boosted by the interesting term relevance
SolrQuery::getMltCount
— Returns the number of similar documents to return for each result
SolrQuery::getMltFields
— Returns all the fields to use for similarity
SolrQuery::getMltMaxNumQueryTerms
— Returns the maximum number of query terms that will be included in any generated query
SolrQuery::getMltMaxNumTokens
— Returns the maximum number of tokens to parse in each document field that is not stored with TermVector support
SolrQuery::getMltMaxWordLength
— Returns the maximum word length above which words will be ignored
SolrQuery::getMltMinDocFrequency
— Returns the treshold frequency at which words will be ignored which do not occur in at least this many docs
SolrQuery::getMltMinTermFrequency
— Returns the frequency below which terms will be ignored in the source document
SolrQuery::getMltMinWordLength
— Returns the minimum word length below which words will be ignored
SolrQuery::getMltQueryFields
— Returns the query fields and their boosts
SolrQuery::getQuery
— 主なクエリーを返す
SolrQuery::getRows
— Returns the maximum number of documents
SolrQuery::getSortFields
— Returns all the sort fields
SolrQuery::getStart
— Returns the offset in the complete result set
SolrQuery::getStats
— Returns whether or not stats is enabled
SolrQuery::getStatsFacets
— Returns all the stats facets that were set
SolrQuery::getStatsFields
— Returns all the statistics fields
SolrQuery::getTerms
— Returns whether or not the TermsComponent is enabled
SolrQuery::getTermsField
— Returns the field from which the terms are retrieved
SolrQuery::getTermsIncludeLowerBound
— Returns whether or not to include the lower bound in the result set
SolrQuery::getTermsIncludeUpperBound
— Returns whether or not to include the upper bound term in the result set
SolrQuery::getTermsLimit
— Returns the maximum number of terms Solr should return
SolrQuery::getTermsLowerBound
— Returns the term to start at
SolrQuery::getTermsMaxCount
— Returns the maximum document frequency
SolrQuery::getTermsMinCount
— Returns the minimum document frequency to return in order to be included
SolrQuery::getTermsPrefix
— Returns the term prefix
SolrQuery::getTermsReturnRaw
— Whether or not to return raw characters
SolrQuery::getTermsSort
— Returns an integer indicating how terms are sorted
SolrQuery::getTermsUpperBound
— Returns the term to stop at
SolrQuery::getTimeAllowed
— Returns the time in milliseconds allowed for the query to finish
SolrQuery::removeFacetDateField
— Removes one of the facet date fields
SolrQuery::removeFacetDateOther
— Removes one of the facet.date.other parameters
SolrQuery::removeFacetField
— Removes one of the facet.date parameters
SolrQuery::removeFacetQuery
— Removes one of the facet.query parameters
SolrQuery::removeField
— Removes a field from the list of fields
SolrQuery::removeFilterQuery
— Removes a filter query
SolrQuery::removeHighlightField
— Removes one of the fields used for highlighting
SolrQuery::removeMltField
— Removes one of the moreLikeThis fields
SolrQuery::removeMltQueryField
— Removes one of the moreLikeThis query fields
SolrQuery::removeSortField
— Removes one of the sort fields
SolrQuery::removeStatsFacet
— Removes one of the stats.facet parameters
SolrQuery::removeStatsField
— Removes one of the stats.field parameters
SolrQuery::setEchoHandler
— Toggles the echoHandler parameter
SolrQuery::setEchoParams
— Determines what kind of parameters to include in the response
SolrQuery::setExplainOther
— Sets the explainOther common query parameter
SolrQuery::setFacet
— Maps to the facet parameter. Enables or disables facetting
SolrQuery::setFacetDateEnd
— Maps to facet.date.end
SolrQuery::setFacetDateGap
— Maps to facet.date.gap
SolrQuery::setFacetDateHardEnd
— Maps to facet.date.hardend
SolrQuery::setFacetDateStart
— Maps to facet.date.start
SolrQuery::setFacetEnumCacheMinDefaultFrequency
— Sets the minimum document frequency used for determining term count
SolrQuery::setFacetLimit
— Maps to facet.limit
SolrQuery::setFacetMethod
— Specifies the type of algorithm to use when faceting a field
SolrQuery::setFacetMinCount
— Maps to facet.mincount
SolrQuery::setFacetMissing
— Maps to facet.missing
SolrQuery::setFacetOffset
— Sets the offset into the list of constraints to allow for pagination
SolrQuery::setFacetPrefix
— Specifies a string prefix with which to limits the terms on which to facet
SolrQuery::setFacetSort
— Determines the ordering of the facet field constraints
SolrQuery::setHighlight
— Enables or disables highlighting
SolrQuery::setHighlightAlternateField
— Specifies the backup field to use
SolrQuery::setHighlightFormatter
— Specify a formatter for the highlight output
SolrQuery::setHighlightFragmenter
— Sets a text snippet generator for highlighted text
SolrQuery::setHighlightFragsize
— The size of fragments to consider for highlighting
SolrQuery::setHighlightHighlightMultiTerm
— Use SpanScorer to highlight phrase terms
SolrQuery::setHighlightMaxAlternateFieldLength
— Sets the maximum number of characters of the field to return
SolrQuery::setHighlightMaxAnalyzedChars
— Specifies the number of characters into a document to look for suitable snippets
SolrQuery::setHighlightMergeContiguous
— Whether or not to collapse contiguous fragments into a single fragment
SolrQuery::setHighlightRegexMaxAnalyzedChars
— Specify the maximum number of characters to analyze
SolrQuery::setHighlightRegexPattern
— Specify the regular expression for fragmenting
SolrQuery::setHighlightRegexSlop
— Sets the factor by which the regex fragmenter can stray from the ideal fragment size
SolrQuery::setHighlightRequireFieldMatch
— Require field matching during highlighting
SolrQuery::setHighlightSimplePost
— Sets the text which appears after a highlighted term
SolrQuery::setHighlightSimplePre
— Sets the text which appears before a highlighted term
SolrQuery::setHighlightSnippets
— Sets the maximum number of highlighted snippets to generate per field
SolrQuery::setHighlightUsePhraseHighlighter
— Whether to highlight phrase terms only when they appear within the query phrase
SolrQuery::setMlt
— Enables or disables moreLikeThis
SolrQuery::setMltBoost
— Set if the query will be boosted by the interesting term relevance
SolrQuery::setMltCount
— Set the number of similar documents to return for each result
SolrQuery::setMltMaxNumQueryTerms
— Sets the maximum number of query terms included
SolrQuery::setMltMaxNumTokens
— Specifies the maximum number of tokens to parse
SolrQuery::setMltMaxWordLength
— Sets the maximum word length
SolrQuery::setMltMinDocFrequency
— Sets the mltMinDoc frequency
SolrQuery::setMltMinTermFrequency
— Sets the frequency below which terms will be ignored in the source docs
SolrQuery::setMltMinWordLength
— Sets the minimum word length
SolrQuery::setOmitHeader
— Exclude the header from the returned results
SolrQuery::setQuery
— 検索クエリーを設定
SolrQuery::setRows
— Specifies the maximum number of rows to return in the result
SolrQuery::setShowDebugInfo
— Flag to show debug information
SolrQuery::setStart
— Specifies the number of rows to skip
SolrQuery::setStats
— Enables or disables the Stats component
SolrQuery::setTerms
— Enables or disables the TermsComponent
SolrQuery::setTermsField
— Sets the name of the field to get the Terms from
SolrQuery::setTermsIncludeLowerBound
— Include the lower bound term in the result set
SolrQuery::setTermsIncludeUpperBound
— Include the upper bound term in the result set
SolrQuery::setTermsLimit
— Sets the maximum number of terms to return
SolrQuery::setTermsLowerBound
— Specifies the Term to start from
SolrQuery::setTermsMaxCount
— Sets the maximum document frequency
SolrQuery::setTermsMinCount
— Sets the minimum document frequency
SolrQuery::setTermsPrefix
— Restrict matches to terms that start with the prefix
SolrQuery::setTermsReturnRaw
— Return the raw characters of the indexed term
SolrQuery::setTermsSort
— Specifies how to sort the returned terms
SolrQuery::setTermsUpperBound
— Sets the term to stop at
SolrQuery::setTimeAllowed
— The time allowed for search to finish
SolrException
— SolrException クラス
SolrException::getInternalInfo
— 例外がスローされた際の内部情報を返す
SolrClientException
— SolrClientException クラス
SolrClientException::getInternalInfo
— 例外がスローされた際の内部情報を返す
SolrIllegalArgumentException
— SolrIllegalArgumentException クラス
SolrIllegalArgumentException::getInternalInfo
— 例外がスローされた際の内部情報を返す
SolrIllegalOperationException
— SolrIllegalOperationException クラス
SolrIllegalOperationException::getInternalInfo
— 例外がスローされた際の内部情報を返す
udm_set_agent_param
導入
検索エンジン用の拡張モジュール
PHP Manual