@@ -0,0 +1,1144 @@
+/*%0A * (C) Copyright 2014 Nuxeo SA (http://nuxeo.com/) and contributors.%0A *%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the GNU Lesser General Public License%0A * (LGPL) version 2.1 which accompanies this distribution, and is available at%0A * http://www.gnu.org/licenses/lgpl.html%0A *%0A * This library is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU%0A * Lesser General Public License for more details.%0A *%0A * Contributors:%0A *     bdelbosc%0A */%0Apackage org.nuxeo.elasticsearch;%0A%0Apublic class ElasticSearchConstants %7B%0A%0A    private ElasticSearchConstants() %7B%0A    %7D%0A%0A    /**%0A     * Elasticsearch type name used to index Nuxeo documents%0A     */%0A    public static final String DOC_TYPE = %22doc%22;%0A%0A    public static final String ACL_FIELD = %22ecm:acl%22;%0A%0A    public static final String CHILDREN_FIELD = %22ecm:path.children%22;%0A%0A    public static final String%5B%5D DEFAULT_FULLTEXT_FIELDS = %7B %22ecm:fulltext%22,%0A            %22dc:title%22, %22dc:description%22, %22note:note%22 %7D;%0A%7D%0A

Enable to configure the ES index name, the type name must be doc