[TYPO3-Solr] General Question

Søren Malling soren.malling at gmail.com
Thu Apr 10 08:26:51 CEST 2014


I will agree with Olivier, but if you decide to index "uid" for stuff, you
should have a look into the "fieldRenderingInstructions" where you can get
a database record for rendering

Example:
https://forge.typo3.org/projects/extension-solr/wiki/TemplatingResultTypeIcons

Cheers

Søren


On Wed, Apr 9, 2014 at 9:40 PM, Olivier Dobberkau
<olivier.dobberkau at dkd.de>wrote:

> Am 09.04.14 17:27, schrieb Stefan Kruse:
>
>  Hi,
>> i have a question to solr. I have the follow situation: I have a table
>> subcategories with the fields name and company. Name is a string and
>> company
>> is a 1:n relation. How is the best way to index this. Should the companies
>> indexed in a comma separated list (the uid from company like: 1,5,8,4,9
>> etc.) or how is the best way?
>> Maybe somebody has a hint.
>> Regards Stefan
>>
>
> hi
>
> Please try to index the data you want to find as non-criptic as possible.
> Use SOLRRELATION to index Company Names and not uid.
>
> Please have a look at the news example to see how to do this with
> categories ie.
>
> Best greetings,
>
> Olivier
>
> _______________________________________________
> 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