Skip to content

Instantly share code, notes, and snippets.

Michael Snell snellm

  • London
Block or report user

Report or block snellm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View School.java
public class School {
private final String name;
private final String nickname;
public School(String name, String nickname) {
this.name = name;
this.nickname = nickname;
}
@Override
@snellm
snellm / ElasticSearchGcDeletes.java
Created Aug 14, 2012
Indexing document with same id within 60 seconds of delete causes VersionConflictEngineException
View ElasticSearchGcDeletes.java
import org.elasticsearch.client.Client;
import org.elasticsearch.common.settings.ImmutableSettings;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.node.Node;
import static org.elasticsearch.client.Requests.*;
import static org.elasticsearch.index.VersionType.*;
import static org.elasticsearch.node.NodeBuilder.*;
You can’t perform that action at this time.