Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the mapping should trigger a reindex #15

Open
bklang opened this issue Feb 2, 2015 · 0 comments
Open

Changing the mapping should trigger a reindex #15

bklang opened this issue Feb 2, 2015 · 0 comments
Assignees

Comments

@bklang
Copy link
Member

bklang commented Feb 2, 2015

Created Snapshot of connect_messages-development_20150201214010 in 10.203.175.32:9200:/tmp/es_snapshots
ConnectMessage existing mappings = [[:body, {:type=>"string"}], [:created_at, {:type=>"date"}], [:from, {:type=>"string"}], [:stanza, {:type=>"string"}], [:to, {:type=>"string"}], [:type, {:type=>"string"}], [:updated_at, {:type=>"date"}], [:visibility, {:type=>"string"}]]
ConnectMessage new mappings      = [[:body, {:type=>"string"}], [:created_at, {:type=>"date"}], [:from, {:type=>"string"}], [:stanza, {:type=>"string"}], [:to, {:type=>"string"}], [:type, {:type=>"string"}], [:updated_at, {:type=>"date"}], [:visibility, {:type=>"string"}]]
Skipping action due to guard callbacks

Model definition changed from this:

attribute :type,   String, mapping: { type: 'string', index: 'not_analyzed' } 

to this:

attribute :type,   String, mapping: { type: 'string', index: 'simple' } 
@JustinAiken JustinAiken self-assigned this Feb 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants