This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

[solved] Date in Solr with tjSolrDoctrineBehaviorPlugin

Questions relating to sfLucenePlugin, sfSearch etc

[solved] Date in Solr with tjSolrDoctrineBehaviorPlugin

by Aerandir » Tue Nov 23, 2010 6:55 pm

Hello !

Do you know how I must configure schema.xml to index date ? The date comes from MySQL with a 'Y-m-d h:i:s' format. But it seems that Solr waits for a ISO 8601format. But I don't know where I can transform the MySQL to a ISO 8601date without modifying the plug in.

Can anyone help me ?

Thank you, and sorry if my questions are silly.
Aerandir
Junior Member
 
Posts: 5
Joined: Thu Nov 18, 2010 12:43 pm

Re: Index date in Solr with tjSolrDoctrineBehaviorPlugin

by Aerandir » Wed Nov 24, 2010 4:48 pm

For those who wants to do what I wanted to do, you simply have to look at the tjSolrDoctrineBehaviorPlugin's readme and make virtual fields.
Aerandir
Junior Member
 
Posts: 5
Joined: Thu Nov 18, 2010 12:43 pm