---
title: "indexed_search doesn't work with rootPidList"
url: "https://www.typo3.net/d/116258-indexed-search-doesnt-work-with-rootpidlist"
source: "typo3.net"
tags: ["Extensions","English","Frage","TYPO3 4.x"]
created: "2013-10-09"
last_reply: "2013-10-09"
replies: 1
solved: false
page: 1
pages: 1
lang: "en"
---

# indexed_search doesn't work with rootPidList

Extensions · 1 Antwort · gestartet 2013-10-09

## Eröffnungsbeitrag

**mranguish** · 2013-10-09 · [Beitrag #1](https://www.typo3.net/d/116258-indexed-search-doesnt-work-with-rootpidlist/1)

Hi,
I want to use indexed_search in Typo3 4.6 but I have a problem. My page has a few main trees and I only want to search in the current tree. The indexing works fine, searching in all trees works too. But if I set the rootPidList to the id of my root page of the tree I want to search, then I got no results. :( Any ideas?

```typoscript
page.config.index_enable = 1
plugin.tx_indexedsearch.search {
    rootPidList = 1234
    page_links = 10
}

plugin.tx_indexedsearch {
    templateFile = typo3/sysext/indexed_search/pi/indexed_search.tmpl
    _DEFAULT_PI_VARS.results = 10
}
```

## Antworten

### [#2](https://www.typo3.net/d/116258-indexed-search-doesnt-work-with-rootpidlist/2) · mranguish · 2013-10-09

I created a solution that worked for me. If somebody else has the same problem, her my solution:

```typoscript
    plugin.tx_indexedsearch {
        _DEFAULT_PI_VARS.sections=rl1_1234
 
      search {
          rootPidList = -1
      }
    }
```

Restriction of the section 1234 which is my tree I want to search in

---

Quelle: „indexed_search doesn't work with rootPidList“, typo3.net, https://www.typo3.net/d/116258-indexed-search-doesnt-work-with-rootpidlist
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
