[TYPO3-Solr] Solr Extension for typo3 - Wrong URL

Hauke Meyer meyer at visionconnect.de
Thu Jul 4 14:44:16 CEST 2013


Hi,

ext:solr is 2.8.2
solr is 3.6.2

The URLs went wrong into  solr. I followed the bug down to
TYPO3_SITE_PATH which is one of these pseudo constants. Here come the
PathToScript (or something like that) into account and a path is of
course different if you look from a virtual host or a cli-call. But all
this stuff just matters when you use forceAbsoluteURL.



Am 03.07.2013 17:06, schrieb Jigal van Hemert:
> Hi,
>
> On 3-7-2013 10:25, Hauke Meyer wrote:
>> http://sitename.com/path/to/virtualhost/index.php... In my opinion there
>> is no real handling for the cli way to do things inside typolink and the
>> generation of "TYPO3_SITE_PATH", if you need absolute urls.
>
> Which version of EXT:solr and which version of the solr server do you
> use? I just had a peek in a recent solr server and all URLs in the
> index were absolute without specification in the TypoScript
> configuration to do so.
>
> In the fieldRenderingInstructions (used to process the fields before
> they enter the template) there is a difference for the "link" that is
> displayed. For pages it's a link to the uid field, with the title
> field as the link contents; for other types it's a link to the url field.
>



More information about the TYPO3-project-solr mailing list