Hi Folks,
There's code in our base (I didnt write, but inherited) like this,
seems like there has to be a better way?
Also when instantiating a new IndexStatusRequest, does the resulting
object contains all the known indexes?
Is there a true javadoc on this "low level" stuff
The only think related on the site I saw was this http://www.elasticsearch.com/docs/elasticsearch/java_api/admin/
I've resorted to looking at method sigs (in my ide) and guessing
Is there a best way to build the javadoc?
IndicesStatusRequest()).actionGet() // check first to see if it
doesn't exist or get an exception if trying to create existing
if (statusResponse.index(indexName) != null) retValue =
true //statusRespopnse if of type IndexStatusResponse -
public org.elasticsearch.action.admin.indices.status.IndexStatus
index(java.lang.String index) { /* compiled code */ }
} catch(IndexMissingException ime) { // I used to be able to
check the statusresponse now I will get an IME so treat both the same
logger.debug "Hit an indexedmissingexception in index
test"
retValue = false
}
Hi Folks,
There's code in our base (I didnt write, but inherited) like this,
seems like there has to be a better way?
Also when instantiating a new IndexStatusRequest, does the resulting
object contains all the known indexes?
Is there a true javadoc on this "low level" stuff
The only think related on the site I saw was this http://www.elasticsearch.com/docs/elasticsearch/java_api/admin/
I've resorted to looking at method sigs (in my ide) and guessing
Is there a best way to build the javadoc?
IndicesStatusRequest()).actionGet() // check first to see if it
doesn't exist or get an exception if trying to create existing
if (statusResponse.index(indexName) != null) retValue =
true //statusRespopnse if of type IndexStatusResponse -
public org.elasticsearch.action.admin.indices.status.IndexStatus
index(java.lang.String index) { /* compiled code */ }
} catch(IndexMissingException ime) { // I used to be able to
check the statusresponse now I will get an IME so treat both the same
logger.debug "Hit an indexedmissingexception in index
test"
retValue = false
}
Hi Folks,
There's code in our base (I didnt write, but inherited) like this,
seems like there has to be a better way?
Also when instantiating a new IndexStatusRequest, does the resulting
object contains all the known indexes?
Is there a true javadoc on this "low level" stuff
The only think related on the site I saw was this http://www.elasticsearch.com/docs/elasticsearch/java_api/admin/
I've resorted to looking at method sigs (in my ide) and guessing
Is there a best way to build the javadoc?
IndicesStatusRequest()).actionGet() // check first to see if it
doesn't exist or get an exception if trying to create existing
if (statusResponse.index(indexName) != null) retValue =
true //statusRespopnse if of type IndexStatusResponse -
public org.elasticsearch.action.admin.indices.status.IndexStatus
index(java.lang.String index) { /* compiled code */ }
} catch(IndexMissingException ime) { // I used to be able to
check the statusresponse now I will get an IME so treat both the same
logger.debug "Hit an indexedmissingexception in index
test"
retValue = false
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.