package org.elasticsearch.plugin.fields;

import java.util.Collection;

import org.elasticsearch.common.collect.Lists;
import org.elasticsearch.common.inject.Module;
import org.elasticsearch.plugins.AbstractPlugin;

public final class ComputedFieldsPlugin extends AbstractPlugin
{
    @Override
    public String name()
    {
        return "computed-fields-plugin";
    }

    @Override
    public String description()
    {
        return "Adds support for indexing computed fields";
    }
    
    @Override
    public Collection<Class<? extends Module>> indexModules() 
    {
        Collection<Class<? extends Module>> modules = Lists.newArrayList();
        modules.add(ComputedFieldsModule.class);
        return modules;
    }
}

@@ -69,55 +69,8 @@
 n;%0A%0A
-import org.elasticsearch.common.collect.Lists;%0A
 impo
@@ -162,16 +162,57 @@
 lugin;%0A%0A
+import com.google.common.collect.Lists;%0A%0A
 public f

Version changes