> Hey, you need to provide both the type and the id to fetch a document.
> On Wednesday, April 20, 2011 at 9:40 PM, davrob2 wrote:
> > I would like to do a Request on an alias without any type, or else to
> > specify all possible types. So far I can only see how to do a query
> > like this with the Java API:
> > getClient().prepareGet().setIndex(getIndexName()).setId("" +
> > contactId).setType(null)
> > Which throws a validation "type is missing" error.
> > David.