Discussion:
[TYPO3] indexed_search on part of site
Jesper Goos
2008-08-21 06:38:48 UTC
Permalink
Hi

I have a problem with indexed_search, as I would like it to search in
some specific pages only.

I have investigated the following:

1) search.rootPidList - does not work, as I can not set the top page as
root, as that would ruin the navigation. I guess this is for the case
when you have several websites in one TYPO3 installation.

2) search by levels/section with something like this:
plugin.tx_indexedsearch._DEFAULT_PI_VARS.sections = rl4_130 - where 4 is
the level and 130 is the page id.
- does not work, as the indexed_search only supports two levels.

3) In earlier versions if indexed_search there was a "Startingpoint"
section - is gone ;-(

4) I guess it is possible with the crawer extension to setup a
configuration that support searching only in a specific area - but that
seems very cumbersome for such a simple thing. If you know of a simple
way to set this up please let me know...

All I want to do is specify my search to only search in a specific area
of the website either by some startingpoint or list of page id's.

Can anyone point me in the right direction?

Thanx a lot
Jesper Goos
G.Unger
2008-08-21 09:44:25 UTC
Permalink
hello list

I seem to have a similar issue/problem.

I have an installation looking like this:

- portal
-- country 1 (eng/ger/fr)
--- menu1
--- menu2
--- a.s.o
-- country 2 (eng)
--- menu1
--- menu2
--- a.s.o

portal is root of website (checked in page configuration flexform)

country 1 and country 2 have each own ext-templates and each his own
serach.
now I want the search of country 1 only to serach in country 1 and
country 2 only to serach in country 2, and the specific language I am
in. unfortunately the search results show always results from both
countries, although the language seems to be recognized.

can anyone point me to where I am going wrong, as I want each country
to search only in the appropriate country and language?

thx & rgds
GUIDO
Post by Jesper Goos
Hi
I have a problem with indexed_search, as I would like it to search in
some specific pages only.
1) search.rootPidList - does not work, as I can not set the top page as
root, as that would ruin the navigation. I guess this is for the case
when you have several websites in one TYPO3 installation.
plugin.tx_indexedsearch._DEFAULT_PI_VARS.sections = rl4_130 - where 4 is
the level and 130 is the page id.
- does not work, as the indexed_search only supports two levels.
3) In earlier versions if indexed_search there was a "Startingpoint"
section - is gone ;-(
4) I guess it is possible with the crawer extension to setup a
configuration that support searching only in a specific area - but that
seems very cumbersome for such a simple thing. If you know of a simple
way to set this up please let me know...
All I want to do is specify my search to only search in a specific area
of the website either by some startingpoint or list of page id's.
Can anyone point me in the right direction?
Thanx a lot
Jesper Goos
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
Jesper Goos
2008-08-22 11:24:56 UTC
Permalink
OK, I solved the problem with the crawler extention.

1) In the root page I added this in the PAGE PROPERTIES of the root page:

tx_crawler.crawlerCfg.paramSets.test =
tx_crawler.crawlerCfg.paramSets.test {
cHash = 1
procInstrFilter = tx_indexedsearch_reindex, tx_indexedsearch_crawler
baseUrl = http://mypage.com/
}

2) as I use RealUrl i added:
config.redirectOldLinksToNew = 0
to my root template

3) create a Indexing Configuration where the "Root page" is defined.

4) and last but not least I add
plugin.tx_indexedsearch.search.defaultFreeIndexUidList = 1 (1 is the id of
the Indexing Configuration)
to the page where the indexed_search plugin is.

Please let me know if this can be done better?
Hope this can help someone else ;-)

Regards
Jesper Goos


"G.Unger" <skyfreak1 at gmx.net> wrote in message
Post by G.Unger
hello list
I seem to have a similar issue/problem.
- portal
-- country 1 (eng/ger/fr)
--- menu1
--- menu2
--- a.s.o
-- country 2 (eng)
--- menu1
--- menu2
--- a.s.o
portal is root of website (checked in page configuration flexform)
country 1 and country 2 have each own ext-templates and each his own
serach.
now I want the search of country 1 only to serach in country 1 and
country 2 only to serach in country 2, and the specific language I am in.
unfortunately the search results show always results from both countries,
although the language seems to be recognized.
can anyone point me to where I am going wrong, as I want each country to
search only in the appropriate country and language?
thx & rgds
GUIDO
Post by Jesper Goos
Hi
I have a problem with indexed_search, as I would like it to search in
some specific pages only.
1) search.rootPidList - does not work, as I can not set the top page as
root, as that would ruin the navigation. I guess this is for the case
when you have several websites in one TYPO3 installation.
plugin.tx_indexedsearch._DEFAULT_PI_VARS.sections = rl4_130 - where 4 is
the level and 130 is the page id.
- does not work, as the indexed_search only supports two levels.
3) In earlier versions if indexed_search there was a "Startingpoint"
section - is gone ;-(
4) I guess it is possible with the crawer extension to setup a
configuration that support searching only in a specific area - but that
seems very cumbersome for such a simple thing. If you know of a simple
way to set this up please let me know...
All I want to do is specify my search to only search in a specific area
of the website either by some startingpoint or list of page id's.
Can anyone point me in the right direction?
Thanx a lot
Jesper Goos
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
Dmitry Dulepov [typo3]
2008-08-22 11:32:25 UTC
Permalink
Hi!
Post by Jesper Goos
config.redirectOldLinksToNew = 0
to my root template
What does it do? Nothing for RealURL at least. RealURL does not know such option.
--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/
Jesper Goos
2008-08-22 11:33:43 UTC
Permalink
You are rigth it is for the cooluri-extension
http://wiki.typo3.org/index.php/Crawler

Jesper

"Dmitry Dulepov [typo3]" <dmitry at typo3.org> wrote in message
Post by Dmitry Dulepov [typo3]
Hi!
Post by Jesper Goos
config.redirectOldLinksToNew = 0
to my root template
What does it do? Nothing for RealURL at least. RealURL does not know such option.
--
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
http://typo3bloke.net/pages/book-reviews/presentation-zen-by-garr-reynolds/
Jesper Goos
2008-08-22 11:32:39 UTC
Permalink
Damn - I was too fast ;-(
Still not working - can anyone tell me why?
Jesper

"Jesper Goos" <jesper at goos.dk> wrote in message
Post by Jesper Goos
OK, I solved the problem with the crawler extention.
tx_crawler.crawlerCfg.paramSets.test =
tx_crawler.crawlerCfg.paramSets.test {
cHash = 1
procInstrFilter = tx_indexedsearch_reindex, tx_indexedsearch_crawler
baseUrl = http://mypage.com/
}
config.redirectOldLinksToNew = 0
to my root template
3) create a Indexing Configuration where the "Root page" is defined.
4) and last but not least I add
plugin.tx_indexedsearch.search.defaultFreeIndexUidList = 1 (1 is the id
of the Indexing Configuration)
to the page where the indexed_search plugin is.
Please let me know if this can be done better?
Hope this can help someone else ;-)
Regards
Jesper Goos
"G.Unger" <skyfreak1 at gmx.net> wrote in message
Post by G.Unger
hello list
I seem to have a similar issue/problem.
- portal
-- country 1 (eng/ger/fr)
--- menu1
--- menu2
--- a.s.o
-- country 2 (eng)
--- menu1
--- menu2
--- a.s.o
portal is root of website (checked in page configuration flexform)
country 1 and country 2 have each own ext-templates and each his own
serach.
now I want the search of country 1 only to serach in country 1 and
country 2 only to serach in country 2, and the specific language I am
in. unfortunately the search results show always results from both
countries, although the language seems to be recognized.
can anyone point me to where I am going wrong, as I want each country to
search only in the appropriate country and language?
thx & rgds
GUIDO
Post by Jesper Goos
Hi
I have a problem with indexed_search, as I would like it to search in
some specific pages only.
1) search.rootPidList - does not work, as I can not set the top page as
root, as that would ruin the navigation. I guess this is for the case
when you have several websites in one TYPO3 installation.
plugin.tx_indexedsearch._DEFAULT_PI_VARS.sections = rl4_130 - where 4 is
the level and 130 is the page id.
- does not work, as the indexed_search only supports two levels.
3) In earlier versions if indexed_search there was a "Startingpoint"
section - is gone ;-(
4) I guess it is possible with the crawer extension to setup a
configuration that support searching only in a specific area - but that
seems very cumbersome for such a simple thing. If you know of a simple
way to set this up please let me know...
All I want to do is specify my search to only search in a specific area
of the website either by some startingpoint or list of page id's.
Can anyone point me in the right direction?
Thanx a lot
Jesper Goos
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
Loading...