SearchElement
この環境変数は、Movable Type 4.2 以降のバージョンでは動作しません (パフォーマンス改善に伴う仕様変更の為)。
検索対象を設定します。デフォルトでは検索はブログのブログ記事に対して行われ、コメントに対しては行われません。 コメント検索は、検索対象のテキストが多いので、ブログ記事検索より時間がかかります。 この設定は entries のままに残しておき、サイトの閲覧者が自在に変更できる状態にしておくのがよいでしょう。 有効な値は、entries, comments, または both (両方) のいずれかです。
使い方
SearchElement entries
初期設定値
entries
SearchElement と関連のある環境変数 (41)
- SearchCacheTTL
- SearchThrottleSeconds
- SearchMaxResults
- SearchResultDisplay
- SearchDefaultTemplate
- SearchAltTemplate
- SearchPrivateTags
- DefaultCommenterAuth
- LDAPGroupSearchBase
- ThrottleSeconds
- DefaultTemplate
- MaxResults
- IncludeBlogs
- DefaultListPrefs
- GooglePingURL
- TransparentProxyIPs
- Type
- DefaultEntryPrefs
- SearchScript
- ShowIPInformation
- SearchSortBy
- SignOnPublicKey
- AllowComments
- SearchSortOrder
- CommentScript
- CaptchaSourceImageBase
- ExcludeBlogs
- CommentSessionTimeout
- SearchNoOverride
- CommentSearchCutoff
- AltTemplate
- EmailReplyTo
- ResultDisplay
- PublishCommenterIcon
- RegexSearch
- SearchCutoff
- SearchThrottleIPWhitelist
- ImportPath
- ExcerptWords
- SearchElement
- SearchTemplatePath

