Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Solr 4.0 has a new feature of Atomic Updates, http://wiki.apache.org/solr/Atomic_Updates. Can I use it with 7.x? I just want to update a multivalued field manually. Is there any hook to use? Thanks.
Comments
Comment #1
monisha-malik CreditAttribution: monisha-malik as a volunteer and commentedComment #2
monisha-malik CreditAttribution: monisha-malik commentedYou can either use a terminal command like this to change value of solr document :
This will change the entity id from 2441 to 100
Or
You can do this dynamically whenever your field is getting saved:
Note: Make sure you make the following changes in Solr configuration
1. In schema.xml add :-
2. In solrconfig.xml add :-