[TYPO3-Solr] tx_news indexing does not work for me

Christian Bleicher - DieLobby Werbeagentur Gmbh c.bleicher at die-lobby.de
Tue Mar 27 11:44:46 CEST 2012


Hi Ingo,

thank you for posting your configuration.

It works now. The problem was that my news entrys had a crdate and
tstamp with value 0. That is because we imported our news from another
system.

Regards
Christian

Am 23.03.2012 13:01, schrieb Ingo Renner:
> Am 23.03.12 08:55, schrieb Christian Bleicher - DieLobby Werbeagentur
> Gmbh:
>> Hi,
>>
>> I use the 2.0 version from the solr extension. The Solr Server is
>> installed via installscript.
>> I have a two language setup (german=1|english=0) and I am able to
>> index my own extensiontable and tt_content table. Everything works
>> great and very very fast. But I tryed the whole day to index the
>> tx_news_domain_model_news table. I Took the example from forge for
>> tt_news and edited it to match the title and bodytext of the tx_news
>> class. For the first step we don't need the indexing of the
>> contentelements. TS looks like that:
>
> Why do you index tt_content?
>
> Here's what I have for EXT:news currently (will also be in v2.1):
>
> plugin.tx_solr.index.queue {
>
>     news = 1
>     news {
>         table = tx_news_domain_model_news
>
>         fields {
>             abstract = teaser
>
>             author = author
>             authorEmail_stringS = author_email
>
>             title = title
>
>             content = COA
>             content {
>                 10 = TEXT
>                 10 {
>                     field = bodytext
>                     noTrimWrap = || |
>                 }
>
>                 20 = SOLR_RELATION
>                 20 {
>                     localField = content_elements
>                     foreignLabelField = bodytext
>                     singleValueGlue = | |
>                 }
>             }
>
>             category_stringM = SOLR_RELATION
>             category_stringM {
>                 localField = categories
>                 multiValue = 1
>             }
>
>             keywords = SOLR_RELATION
>             keywords {
>                 localField = tags
>                 multiValue = 1
>             }
>
>             url = TEXT
>             url {
>                 typolink.parameter = 134
>                 typolink.additionalParams =
> &tx_news_pi1[controller]=News&tx_news_pi1[action]=detail&tx_news_pi1[news]={field:uid}
>                 typolink.additionalParams.insertData = 1
>                 typolink.useCacheHash = 1
>                 typolink.returnLast = url
>             }
>         }
>
>         attachments {
>             fields = related_files
>         }
>     }
>
> }
>
>
> Ingo
>
>


-- 
Mit freundlichen Grüßen
Christian Bleicher

die Lobby Werbeagentur GmbH
Konrad Adenauer Allee 30
93051 Regensburg

web: www.die-lobby.de
email: c.bleicher at die-lobby.de

Tel: 0941 6464494-0
Fax: 0941 6464494-90

Geschäftsführer: Michael Streibl
Umsatzsteuer-Identifikationsnummer
gemäß 27 a Umsatzsteuergesetz: 
DE 274810012
Steuer-Nr. 244/124/40354
HRB 12266 Regensburg
Sitz Regensburg

--
Dieser Schriftverkehr kann rechtlich geschuetzte und/oder vertrauliche
Informationen enthalten. Wenn Sie nicht der richtige Adressat sind,
benachrichtigen Sie bitte den Absender
und vernichten diese Nachricht ohne deren Inhalt zu kopieren,
weiterzugeben oder auf andere Weise zu verwenden.
Vielen Dank.
Alle Aussagen geben nur Ansichten oder Meinungen des Autors wieder und
entsprechen nicht zwingend denen von DIE LOBBY.



More information about the TYPO3-project-solr mailing list