All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.unlaxer.jaddress.Indexes Maven / Gradle / Ivy

package org.unlaxer.jaddress;

import org.elasticsearch.action.index.IndexRequest;
import org.elasticsearch.action.search.SearchRequest;

public enum Indexes{
	
	ad_address,
	;
	
	public String indexName() {
		
		return name();
	}
	
	public IndexRequest createIndexRequest() {
		
		return new IndexRequest(indexName());
	}
	
	public SearchRequest createSearchRequest() {
		
		return new SearchRequest(indexName());
	}
		
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy