[TYPO3-Solr] General Question

Olivier Dobberkau olivier.dobberkau at dkd.de
Wed Apr 9 21:40:04 CEST 2014


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


More information about the TYPO3-project-solr mailing list