[TYPO3] indexed search tricky issue
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Tue Oct 17 09:29:45 CEST 2006
Rakowski Tomasz schrieb:
> Hello!
>
> I would like to use indexed search for searching only some specified
> records, ie: tt_news or tt_address. I was trying to use TS conf:
> search rootPidList =
> but it gives no results, as the pids listed should be site's rootpages.
> How to override this? Any ideas?
On news and address detail pages set in TS page.config.index_enable=1, on
all other pages set page.config.index_enable=0.
In the "templates" (either HTML templates or TS) of news and address have a
wrap like this <!--TYPO3SEARCH_begin-->|<!--TYPO3SEARCH_end-->.
So only news and address pages are indexed.
Or do you mean you want to index all but restrict only search but not indexing?
In this case you must have a tree like this:
+ site root
+ + section 1
+ + section n
+ + "container"
+ + + news details
+ + + address details
With CGI query arguments you may tell the indexed search to look only in
specific section. I don't know which. But you can find it out if you use
"advanced search" and dissect the form.
Masi
More information about the TYPO3-english
mailing list