Browse files

quick fix to last push

  • Loading branch information...
1 parent ed2b52f commit 74e8c71a2b7e82fafc840c0c880edcd74c54ea58 Tristan Sloughter committed Mar 10, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/erlastic_search/src/erlastic_search.erl
View
8 lib/erlastic_search/src/erlastic_search.erl
@@ -43,7 +43,7 @@ create_index(Params, Index) ->
%% @end
%%--------------------------------------------------------------------
index_doc(Index, Type, Doc) when is_tuple(Doc) ->
- index_doc(#erls_params, Index, Type, Doc).
+ index_doc(#erls_params{}, Index, Type, Doc).
%%--------------------------------------------------------------------
%% @doc
@@ -68,7 +68,7 @@ index_doc(Params, Index, Type, Doc) when is_tuple(Doc) ->
%% @end
%%--------------------------------------------------------------------
index_doc_with_id(Index, Type, Id, Doc) when is_tuple(Doc) ->
- index_doc_with_id(#erls_params, Index, Type, Id, Doc).
+ index_doc_with_id(#erls_params{}, Index, Type, Id, Doc).
%%--------------------------------------------------------------------
%% @doc
@@ -92,7 +92,7 @@ index_doc_with_id(Params, Index, Type, Id, Doc) when is_tuple(Doc) ->
%% @end
%%--------------------------------------------------------------------
search(Index, Type, Query) ->
- search(#erls_params, Index, Type, Query).
+ search(#erls_params{}, Index, Type, Query).
%%--------------------------------------------------------------------
%% @doc
@@ -146,7 +146,7 @@ delete_index(Params, Index) ->
ok.
optimize_index(Index) ->
- optimize_index(#erls_parms{}, Index).
+ optimize_index(#erls_params{}, Index).
optimize_index(Params, Index) ->
ok.

0 comments on commit 74e8c71

Please sign in to comment.