Hi, I would like to get the product variations ids in the wp post object, Is there any code to do so.. or any file from where these data is being added to post object.
In this custom key, the data is available , almost all fields being sent to solr are available, except variation ids.
It would require lots of steps, to index your ids and retrieve them from the queries.
You can get inspiration from /plugins/wpsolr-pro/wpsolr-pro/wpsolr/pro/extensions/geolocation/class-wpsolr-option-geolocation.php, where lat,long data is added to the index and ‘distance’ is retrieved from queries.