Die TYPO3 Mailingliste - nicht fragen: lesen!
This is a discussion on [TYPO3-dev] commerce and crawler within the typo3-dev@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi there everyone! Has anyone already tried the combination of the crawler and the commerce extension in order to index ...
|
|||||||
| Registrieren | Hilfe | Benutzerliste | Kalender | Suchen | Heutige Beiträge | Alle Foren als gelesen markieren |
|
#1
|
|||
|
|||
|
Hi there everyone!
Has anyone already tried the combination of the crawler and the commerce extension in order to index products and include them in the searchresults? I am following the docs of indexed_search and the crawler as presented on typo3.org but that does't have any effect. At least not for the search results. As for the crawler himself he seems to do quite ok ... having nearly 5000 records within the queue and having finished about 300 right now. But then when I switch to the indexed search info module I just dont get products listed. I have several category pages within a "products" page and within the pageTS config there I have tx_crawler.crawlerCfg.paramSets { commerce = &L=[|_TABLE ages_language_overlay;_FIELD:sys_language _uid]&tx_commerce_pi1[showUid]=[_TABLE:tx_commerce_products;_PID:112]commerce.procInstrFilter = tx_indexedsearch_reindex commerce.cHash = 1 commerce.baseUrl = http://mydevmachine/~myusername/dvl/theproject/trunk/ } maybe there is someone who already encountered this kind of problems? Thank you very much in advance! greets Rico _______________________________________________ TYPO3-dev mailing list TYPO3-dev (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...info/typo3-dev |
|
#2
|
|||
|
|||
|
Well I managed to get the indexing working but there was still a problem
left which, I guess, would be a nice feature for the crawler. You can actually manage to crawl pages with plugins on them and their content with a rule like that: tx_crawler.crawlerCfg.paramSets.commerce = &L=[|_TABLE ages_language_overlay;_FIELD:sys_language _uid]&tx_commerce_pi1[showUid]=[_TABLE:tx_commerce_products;_PID:112] But with a lot of category pages ... where one page only shows certain records from the designated category and all products are stored within the same sysfolder (_PID:112) you get a lot of junk within your search table. For example - on the page for "Vaccuum cleaners" you actually only show the respective products (e.g. with id 1,3,38) - overall you have 300 products within the sysfolder for products. - with the standard condition this will get you 300 possible variations for that page because it finds that much products within the products table - so you have 297 useless combinations which will be indexed and probably fill your db with junk - now imagine what would happen with about 25 categories! My suggestion would be to include a filter hook for this kind of situations where you can just say &tx_commerce_pi1[showUid]=[_FILTER:someextensionclass->functionname;_SOMEPARAM:somevalue] and then the crawler object would call the filter function if possible in order to influence the results ![]() will play around with it a lill ![]() greets Rico Rico Moorman wrote: > Hi there everyone! > > Has anyone already tried the combination of the crawler and the commerce > extension in order to index products and include them in the searchresults? > > I am following the docs of indexed_search and the crawler as presented > on typo3.org but that does't have any effect. At least not for the > search results. > > As for the crawler himself he seems to do quite ok ... having nearly > 5000 records within the queue and having finished about 300 right now. > But then when I switch to the indexed search info module I just dont get > products listed. > > I have several category pages within a "products" page and within the > pageTS config there I have > > tx_crawler.crawlerCfg.paramSets { > commerce = > &L=[|_TABLE ages_language_overlay;_FIELD:sys_language _uid]&tx_commerce_pi1[showUid]=[_TABLE:tx_commerce_products;_PID:112] > > commerce.procInstrFilter = tx_indexedsearch_reindex > commerce.cHash = 1 > commerce.baseUrl = http://mydevmachine/~myusername/dvl/theproject/trunk/ > } > > maybe there is someone who already encountered this kind of problems? > > Thank you very much in advance! > > greets Rico _______________________________________________ TYPO3-dev mailing list TYPO3-dev (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...info/typo3-dev |
|
#3
|
|||
|
|||
|
Hi Rico,
> Well I managed to get the indexing working but there was still a problem > left which, I guess, would be a nice feature for the crawler. > > You can actually manage to crawl pages with plugins on them and their > content with a rule like that: > tx_crawler.crawlerCfg.paramSets.commerce = > &L=[|_TABLE ages_language_overlay;_FIELD:sys_language _uid]&tx_commerce_pi1[showUid]=[_TABLE:tx_commerce_products;_PID:112] > > > But with a lot of category pages ... where one page only shows certain > records from the designated category and all products are stored within > the same sysfolder (_PID:112) you get a lot of junk within your search > table. For example > - on the page for "Vaccuum cleaners" you actually only show the > respective products (e.g. with id 1,3,38) > - overall you have 300 products within the sysfolder for products. > - with the standard condition this will get you 300 possible variations > for that page because it finds that much products within the products table > - so you have 297 useless combinations which will be indexed and > probably fill your db with junk > - now imagine what would happen with about 25 categories! > > My suggestion would be to include a filter hook for this kind of > situations where you can just say > &tx_commerce_pi1[showUid]=[_FILTER:someextensionclass->functionname;_SOMEPARAM:somevalue] > > > and then the crawler object would call the filter function if possible > in order to influence the results ![]() > > > will play around with it a lill ![]() > if you have found a solution, i'll be glad to add this to the commerce manuel. Could you send an email at team(at)typo3-commerce.org? Many thanks ingo > greets Rico > > > Rico Moorman wrote: > >> Hi there everyone! >> >> Has anyone already tried the combination of the crawler and the >> commerce extension in order to index products and include them in the >> searchresults? >> >> I am following the docs of indexed_search and the crawler as presented >> on typo3.org but that does't have any effect. At least not for the >> search results. >> >> As for the crawler himself he seems to do quite ok ... having nearly >> 5000 records within the queue and having finished about 300 right now. >> But then when I switch to the indexed search info module I just dont >> get products listed. >> >> I have several category pages within a "products" page and within the >> pageTS config there I have >> >> tx_crawler.crawlerCfg.paramSets { >> commerce = >> &L=[|_TABLE ages_language_overlay;_FIELD:sys_language _uid]&tx_commerce_pi1[showUid]=[_TABLE:tx_commerce_products;_PID:112] >> >> commerce.procInstrFilter = tx_indexedsearch_reindex >> commerce.cHash = 1 >> commerce.baseUrl = >> http://mydevmachine/~myusername/dvl/theproject/trunk/ >> } >> >> maybe there is someone who already encountered this kind of problems? >> >> Thank you very much in advance! >> >> greets Rico Mit freundlichen Gruessen -- Ingo Schmitt mailto:is (AT) marketing-factory (DOT) de Marketing Factory Consulting GmbH http://typo3.marketing-factory.de/ Content Management mit Typo3: Beratung - Schulung - Realisierung _______________________________________________ TYPO3-dev mailing list TYPO3-dev (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...info/typo3-dev |
|
#4
|
|||
|
|||
|
Will surely do!
Ingo Schmitt wrote: > Hi Rico, > >> Well I managed to get the indexing working but there was still a >> problem left which, I guess, would be a nice feature for the crawler. >> >> You can actually manage to crawl pages with plugins on them and their >> content with a rule like that: >> tx_crawler.crawlerCfg.paramSets.commerce = >> &L=[|_TABLE ages_language_overlay;_FIELD:sys_language _uid]&tx_commerce_pi1[showUid]=[_TABLE:tx_commerce_products;_PID:112] >> >> >> But with a lot of category pages ... where one page only shows certain >> records from the designated category and all products are stored >> within the same sysfolder (_PID:112) you get a lot of junk within your >> search table. For example >> - on the page for "Vaccuum cleaners" you actually only show the >> respective products (e.g. with id 1,3,38) >> - overall you have 300 products within the sysfolder for products. >> - with the standard condition this will get you 300 possible >> variations for that page because it finds that much products within >> the products table >> - so you have 297 useless combinations which will be indexed and >> probably fill your db with junk >> - now imagine what would happen with about 25 categories! >> >> My suggestion would be to include a filter hook for this kind of >> situations where you can just say >> &tx_commerce_pi1[showUid]=[_FILTER:someextensionclass->functionname;_SOMEPARAM:somevalue] >> >> >> and then the crawler object would call the filter function if possible >> in order to influence the results ![]() >> >> >> will play around with it a lill ![]() >> > > if you have found a solution, i'll be glad to add this to the commerce > manuel. Could you send an email at team(at)typo3-commerce.org? > > Many thanks > > ingo > >> greets Rico >> >> >> Rico Moorman wrote: >> >>> Hi there everyone! >>> >>> Has anyone already tried the combination of the crawler and the >>> commerce extension in order to index products and include them in the >>> searchresults? >>> >>> I am following the docs of indexed_search and the crawler as >>> presented on typo3.org but that does't have any effect. At least not >>> for the search results. >>> >>> As for the crawler himself he seems to do quite ok ... having nearly >>> 5000 records within the queue and having finished about 300 right >>> now. But then when I switch to the indexed search info module I just >>> dont get products listed. >>> >>> I have several category pages within a "products" page and within the >>> pageTS config there I have >>> >>> tx_crawler.crawlerCfg.paramSets { >>> commerce = >>> &L=[|_TABLE ages_language_overlay;_FIELD:sys_language _uid]&tx_commerce_pi1[showUid]=[_TABLE:tx_commerce_products;_PID:112] >>> >>> commerce.procInstrFilter = tx_indexedsearch_reindex >>> commerce.cHash = 1 >>> commerce.baseUrl = >>> http://mydevmachine/~myusername/dvl/theproject/trunk/ >>> } >>> >>> maybe there is someone who already encountered this kind of problems? >>> >>> Thank you very much in advance! >>> >>> greets Rico > > > Mit freundlichen Gruessen _______________________________________________ TYPO3-dev mailing list TYPO3-dev (AT) lists (DOT) netfielders.de http://lists.netfielders.de/cgi-bin/...info/typo3-dev |
| Themen-Optionen | Thema durchsuchen |
| Ansicht | Thema bewerten |
|
|
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| [TYPO3-german] Crawler und Titel des Suchergebnisses | David Bender | typo3-german@lists.netfielders.de | 0 | 30.01.2007 12:49 |
| [TYPO3-german] Commerce Ext | Gregor | typo3-german@lists.netfielders.de | 0 | 25.01.2007 19:49 |
| [TYPO3-german] Commerce Ext | Sebastian Lorenz | typo3-german@lists.netfielders.de | 0 | 13.01.2007 10:54 |
| [TYPO3-UG France] Un dieu du Crawler ici ? | Yannick Pavard | typo3-france@lists.netfielders.de | 1 | 31.12.2006 16:36 |
| [TYPO3-UG France] Pb utilisation de l'extension Site Crawler | KISTER RAPHAEL | typo3-france@lists.netfielders.de | 0 | 23.10.2006 14:38 |