lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Nix <>
Subject [spatial] Indexing polygons?
Date Thu, 07 Jan 2016 03:58:56 GMT

Is there an example in the lucene-solr source to show how to index polygons
and how to search with and for indexed polys? I'm looking in
lucene/spatial/src/test/ and I see an example of a point and it seems

doc.add(new StoredField(strategy.getFieldName, pt.getX + " " + pt.getY))

But nothing regarding polygons is jumping out at me. If there isn't such an
example, can someone provide a short one?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message