2016-08-01 4 views
1

TYPO3サイトで構成された索引付き検索エンジンがあります。TYPO3間違ったページ区切りを示す索引付けされた検索

検索結果が表示されますが、ページ番号が間違っています。最初のものを除いて、他のページを選択した後、それが正しいpagination.Firstページは129の結果

ページ1ページ2 PAGE3 page4 .... page10次へ>>

を示して示していますが、10ページに行くrをページは空で、19件の結果

ページ1ページ2次へ>>

page.config.index_enable = 1 
page.config.index_externals = 0 

lib.topsearchbar = COA 
lib.topsearchbar { 
    10 = TEXT 
    10.typolink.parameter = 101 
    10.typolink.returnLast = url 
    10.wrap = <form action="|" autocomplete="off" method="post" class="search-form"><fieldset><div class="form-group has-feedback"> 
    20 = COA 
    20 { 
    10 = TEXT 
    10.data = GPvar : tx_indexedsearch |sword 
    10.wrap ( 
     <input type="search" id="search" class="form-control search-input" name="tx_indexedsearch[sword]" placeholder="search" /> 
     <span class="ion-android-search search-open-btn"></span> 

    ) 
    20 = COA 
    20 { 
     10 = TEXT 
     10.value = <input type="hidden" name="tx_indexedsearch[sections]" value="0" /> 
     15 = TEXT 
     15.value = <input type="hidden" name="tx_indexedsearch[lang]" value="0" /> 
    } 
    } 
    wrap = | </div></fieldset></form> 
} 
[globalVar = GP:L = 1] 
lib.topsearchbar.20.20.15.value = <input type="hidden" name="tx_indexedsearch[lang]" value="1" /> 
[global] 

plugin.tx_indexedsearch.settings.displayAdvancedSearchLink = 0 
plugin.tx_indexedsearch.settings.displayLevel1Sections = 0 
plugin.tx_indexedsearch.settings.clearSearchBox = 1 
の結果showig合計
+1

途中でどのバージョンを使用していますか? –

+0

typo3 7.6 version –

+1

"間違ったページ付け"とは何かを明示できますか?リンクが壊れていますか?少ない/多いページ、必要以上?検索結果と関連性がありませんか? –

答えて

2

デフォルトでは考慮されていない、アクセス制限されたページに問題がある可能性があります。 indexed_search manualから

search.exactCount

すべてのレコードのための強制パーミッションチェック検索 結果を表示しながら。それ以外の場合は、レコードは現在の結果の ページのみでチェックされ、結果カウンタでは の検索ヒット数が正確に表示されません。

この設定を有効にすると、ループが停止しないため、 のオーバーヘッドによって引き起こされる(明らかな)減速を犠牲にして、正確な結果カウントが になります。

この問題を解決するには、plugin.tx_indexedsearch.search.exactCount = 1を設定するだけです。

関連する問題