Skip to content

Commit

Permalink
Change register fields to stored.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Cribbs committed Dec 18, 2013
1 parent a0fb872 commit 0a31d51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion priv/default_schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
<!-- Riak datatypes embedded fields -->
<dynamicField name="*_flag" type="boolean" indexed="true" stored="true" />
<dynamicField name="*_counter" type="int" indexed="true" stored="true" />
<dynamicField name="*_register" type="string" indexed="true" stored="false" />
<dynamicField name="*_register" type="string" indexed="true" stored="true" />
<dynamicField name="*_set" type="string" indexed="true" stored="false" multiValued="true" />

<!-- catch-all field -->
Expand Down
1 change: 0 additions & 1 deletion src/yz_dt_extractor.erl
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ extract_fields(Name, flag, Value, #state{fields=Fields, field_separator=Sep}=Sta

-spec field_name(field_path_name(), datatype(), binary()) -> binary().
field_name(undefined, map, _Sep) ->
%% (timeforthat)
undefined;
field_name(undefined, Type, _Sep) ->
?ATOM_TO_BIN(Type);
Expand Down

0 comments on commit 0a31d51

Please sign in to comment.