jint - array indexOf

from the mailing list:
https://groups.google.com/forum/#!topic/ravendb/yXM9gsyN2Y4