[TYPO3-Solr] Add "dynamic" title field in own indexer

Seidel, Christopher c.seidel at ITM-Group.com
Mon Nov 18 15:31:39 CET 2013


Hi Soren,

thank you very much this works excellent. 


Christopher

-----Ursprüngliche Nachricht-----
Von: typo3-project-solr-bounces at lists.typo3.org [mailto:typo3-project-solr-bounces at lists.typo3.org] Im Auftrag von Søren Malling
Gesendet: Montag, 18. November 2013 12:01
An: Apache Solr search for TYPO3 project
Betreff: Re: [TYPO3-Solr] Add "dynamic" title field in own indexer

Hi Christopher,

Use a COA object

fields {
  title = COA
  title.5 = TEXT
  title.5.value = Projekt
  title.10 = TEXT
  title.10.field = uid
}

Cheers

Søren


On Mon, Nov 18, 2013 at 11:46 AM, Seidel, Christopher < c.seidel at itm-group.com> wrote:

> Hi guys,
>
> at the moment i use two selfmade indexers in TypoScript which works 
> really fine.
>
> But now I would to have a bit more dynamic in the index field.
>
> Is it possible to map not only to database fields and use dynamic 
> functions for example use two fields in combination?
>
>
> fields {
>             title = name + uid
>
>
> Or maybe to add additional text in the front of the field?
>
>
> fields {
>             title = "Projekt" + uid
>
>
> This doesn't work, so is there any possibility to do that?
>
> Thanks
> Christopher
> _______________________________________________
> TYPO3-project-solr mailing list
> TYPO3-project-solr at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr
>
_______________________________________________
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