Package com.ikanow.infinit.e.data_model.index

Examples of com.ikanow.infinit.e.data_model.index.ElasticSearchManager.removeAlias()


      }
      //TESTED
    }   
    if (bPersonalGroup) {
      ElasticSearchManager dummyGroupIndex = IndexManager.getIndex(DocumentPojoIndexMap.dummyDocumentIndex_);
      dummyGroupIndex.removeAlias(sAliasIndex);
      dummyGroupIndex.removeAlias(sGroupIndex);
    }
    else if (null != parentCommunityId) {
     
      parentCommunityId = getRootCommunity(parentCommunityId);
View Full Code Here


      //TESTED
    }   
    if (bPersonalGroup) {
      ElasticSearchManager dummyGroupIndex = IndexManager.getIndex(DocumentPojoIndexMap.dummyDocumentIndex_);
      dummyGroupIndex.removeAlias(sAliasIndex);
      dummyGroupIndex.removeAlias(sGroupIndex);
    }
    else if (null != parentCommunityId) {
     
      parentCommunityId = getRootCommunity(parentCommunityId);
      if (null != parentCommunityId) {
View Full Code Here

     
      parentCommunityId = getRootCommunity(parentCommunityId);
      if (null != parentCommunityId) {
        String sParentGroupIndex = new StringBuffer("doc_").append(parentCommunityId.toString()).toString();
        ElasticSearchManager docIndex = IndexManager.getIndex(sParentGroupIndex);
        docIndex.removeAlias(sGroupIndex);
        docIndex.removeAlias(sAliasIndex);
        docIndex.closeIndex();
      }   
    }
    else {
View Full Code Here

      parentCommunityId = getRootCommunity(parentCommunityId);
      if (null != parentCommunityId) {
        String sParentGroupIndex = new StringBuffer("doc_").append(parentCommunityId.toString()).toString();
        ElasticSearchManager docIndex = IndexManager.getIndex(sParentGroupIndex);
        docIndex.removeAlias(sGroupIndex);
        docIndex.removeAlias(sAliasIndex);
        docIndex.closeIndex();
      }   
    }
    else {
      ElasticSearchManager docIndex = IndexManager.getIndex(sGroupIndex);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.