Adding more fields to doc1 variable
-
Hi. Thank you for a really impressive plugin!
I would like to add more fields to the $doc1 varialbe in the create_solr_document_from_post_or_attachment function.
If you add a filter before you return it, i could read the $doc1->id and add or replace the other fields in the object.
E.g i want to add the image path to one of our image sizes and the rating saved in the post_meta, so i can use them on my search result page, without using the database.
Kindly regards,
Casper Pilsgaard
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Adding more fields to doc1 variable’ is closed to new replies.