[solved] Date in Solr with tjSolrDoctrineBehaviorPlugin

Questions relating to sfLucenePlugin, sfSearch etc

[solved] Date in Solr with tjSolrDoctrineBehaviorPlugin

Postby 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.
Last edited by Aerandir on Wed Nov 24, 2010 4:51 pm, edited 1 time in total.
Aerandir
Junior Member
 
Posts: 5
Joined: Thu Nov 18, 2010 12:43 pm

Re: Index date in Solr with tjSolrDoctrineBehaviorPlugin

Postby 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


Return to Search plugins

Who is online

Users browsing this forum: No registered users and 1 guest