On Sat, Sep 5, 2015, at 06:16 AM, sara hajili wrote: > hi > i am new in solr, i face to a problem and need any solution to solve > that. > i have a field that this field need to update frequently. > "image i need to index all post of member of a social app" > in this case i need to store and index all posts field like caption , > image, title,comments ,etc > but question is about some field like > "like_count,repost_count,comment_count" this field frequenly changed and > i > need to update that but other like caption ,title are not as the same of > like count field. > so what is the best solution to handle this frequntly update.. > i found that in solr 4 people used external file. > but now in solr 5.x i see that atomic update appear. > atomic update is substitute of extenal file?and what is best approach in > this case? > "i really worry about cost of re indexing docs when update like count"
You are right to worry about the re-indexing cost. You need to think about what you want to do with the field once it is indexed. Do you want to filter based upon it? Do you want to score based upon it? Do you want to get the value back in a search result? The first two can be done, the third hasn't yet been implemented in Solr. Upayavira