[TYPO3-Solr] Solr Extension for typo3 - Wrong URL
Hendrik Nadler
nadler at simplethings.de
Wed Oct 31 10:35:48 CET 2012
Hi,
i had a similar problem and had a look in the code:
tx_solr_indexqueue_frontendhelper_PageIndexer->generatePageUrl
if ($this->request->getParameter('overridePageUrl')) {
return $this->request->getParameter('overridePageUrl');
}
...
[hardcoded typolink configuration]
...
But I didn't get how to "overridePageUrl'", so I had to xclass it and set 'forceAbsoluteUrl' => '1' ... Maybe someone knows how to handle this parameter or is this "for the future"?
Regards,
Hendrik
-----Ursprüngliche Nachricht-----
Von: Michael Zimmermann [mailto:zi.mi at gmx.de]
Gesendet: Mittwoch, 31. Oktober 2012 10:22
An: typo3-project-solr at lists.typo3.org
Betreff: [TYPO3-Solr] Solr Extension for typo3 - Wrong URL
Hello,
i have the Extension Solr for Typo3, but there i have an problem.
I want to search at Typo3Page A an contant of Typo3Page B.
Both pages are at the same solr-core.
But the urls of the search results are relative and this is a problem.
For example:
Typo3Page A (i can search here): http://www.search.server.de Typo3Page B (this contant i want to find): http://www.contant.test.de
Now i search at PageA and and found the result of PageB, but they want to open relative url /content.html , so he open http://www.seatch.server.de/contant.html and not http://www.contant.test.de/contant.html
The search result of nucth are absolute and it works. But not with Solr.
How can i change this? I want to open the absolute url or build a new url.
Thank you!
_______________________________________________
TYPO3-project-solr mailing list
TYPO3-project-solr at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr
More information about the TYPO3-project-solr
mailing list