Permalink
Browse files

Fix spec for make_indexed_doc

  • Loading branch information...
1 parent 3eea7dd commit ac674d98e30dd84345f4790c74596a5eff3bb0d2 @rzezeski rzezeski committed Oct 16, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/riak_search_kv_hook.erl
@@ -196,7 +196,8 @@ index_object(RiakObject, Extractor) ->
end.
%% Make an indexed document under Index/DocId from the RiakObject
--spec make_indexed_doc(index(), docid(), obj(), extractdef()) -> idxdoc().
+-spec make_indexed_doc(index(), docid(), obj(), extractdef()) ->
+ idxdoc() | deleted.
make_indexed_doc(Index, DocId, RiakObject, Extractor) ->
case riak_kv_util:is_x_deleted(RiakObject) of
true ->

0 comments on commit ac674d9

Please sign in to comment.