Timeline for How do I make a custom entity update or create automatically update the solr index?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 7, 2014 at 19:40 | comment | added | masterchief | Hi @cyrilT you do need to implement both hooks. The Apache Solr User module is a great module to look through to help you understand how to implement your own custom entities as this does the same thing for the user entity. In general hook_apachesolr_entity_info_alter will tell apachesolr to index your entities through the callbacks defined. The hook_entity_info_alter makes sure that the apachesolr module knows to index the content on insert and update. Hope that helps! | |
Jan 6, 2014 at 17:55 | review | Late answers | |||
Jan 6, 2014 at 18:03 | |||||
Jan 6, 2014 at 17:35 | history | answered | cyrilT | CC BY-SA 3.0 |