[TYPO3-dev] indexed search on subtree bug or feature?

Surer Dink surerlistmail at gmail.com
Sat Mar 18 15:45:08 CET 2006


On 3/18/06, Martin Kutschker
<martin.kutschker-n0spam at no5pam-blackbox.net> wrote:
> Surer Dink schrieb:
> > All,
> >
> > I have been trying to get indexed search to only search part of the
> > site - however no matter what I specify in "Startingpoint" for the
> > search plugin, the entire tree gets searched.  (I was suggested to use
> > .rootPidList, however I can not because the starting point I want to
> > use is not makred as Rootlevel.)   Is the Startingpoint not working a
> > bug in indexed search, or is this a feature that does something else
> > that I do not understand?
>
> You must use a combination of rootPidLIst and "level". This will limit
> the search to all pages below or equal the level within the given
> rootPidList.
>
> "Startingpoint" is not used at all by the plugin. It's a bug that its
> visible. And a nice enhancemeant were some settings via flexform.

Thank you for such quick response.  It is good to know that
Startingpoint doesn't work - although it should really be taken out of
the documentation to not be misleading.

As far as getting this to work - I do not think I can use the
rootPidList, because then I have to duplicate all template hierarchy
and put in special hacks in places where entryLevel is used in menus. 
I think what I will do is make .blind.sections = 1 and then hack
search template to put in the section=rl1_pid in hidden field.  I do
not think this is a good solution, but I know it will work.  (yes, it
would have been nice if "Startingpoint" worked.)




More information about the TYPO3-dev mailing list