Geoshape Filters via Java API

All,

We're upgrading to v1.0 from v0.90 and have run into an issue we're not
sure how to resolve. We have been applying the geoshape filter in our
queries via the Java API using:

FilterBuilders.geoShapeFilter(fieldName, shape);

but now in v1.0 we can no longer pass in a Shape to the geoshape filter
builder but instead it can take a ShapeBuilder only. The problem is we
already have a Shape instance and it appears all the ShapeBuilder options
that are available are only good for manually creating a Shape instance or
but there no longer seems to be a way to apply a Shape object directly as a
geoshape filter? Is there some way to achieve this easily that I'm
missing?

Also, the relevant examples in the documentation
at http://www.elasticsearch.org/guide/en/elasticsearch/client/java-api/current/query-dsl-filters.html
still show the old API. This is also not noted in the breaking changes
section of the v1.0 documentation.

Thanks,
Corey

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b02078e0-c63f-4c1a-8357-317366583847%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.