Closed xueyumusic closed 8 years ago
I think, in one of comments you've been exactly right that we should have a higher level method reindex_doc. Also I think we should allow to reindex doc not only using its uid but also using the document object itself.
When a document is already indexed, it has an attribute _p_uid (which is assigned as soon as we index or read an object)
Adding this more proper reindex method...
add reindex_doc test