Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
quick fix to last push
  • Loading branch information
Tristan Sloughter committed Mar 10, 2010
1 parent ed2b52f commit 74e8c71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/erlastic_search/src/erlastic_search.erl
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 74e8c71

Please sign in to comment.