[
https://issues.apache.org/jira/browse/SOLR-7379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14490375#comment-14490375
]
David Smiley commented on SOLR-7379:
------------------------------------
This one will be a tad more interesting than simply extending the abstract
spatial field type as it should have these features:
* reference RPT field type via dynamicField pattern or no asterisk for
explicitly referencing an existing field. createField should probably route
through the other field Type (like a kind of internal copyField) or maybe it's
overkill and could simply call the createField on the underlying Strategy.
** Come to think of it, BBoxField & PointVector ought to be able to work
similarly (reference field completely instead of by pattern) but that's not
part of this issue.
** note: SDV (SerializedDVStrategy) probably doesn't deserve it's own field
type but we can internally create one.
* SerializedDVStrategy could be subclassed to override makeShapeValueSource to
be backed by a SolrCache.
** We could cast to JtsGeometry if possible to call index() which uses JTS
PreparedGeometry to speedup the checks. When it first puts it into the cache
it might not do this but on successfull fetch from the cache it could do this
-- which has no effect if it's already cached. It's thread-safe.
> CompositeSpatialStrategy FieldType
> ----------------------------------
>
> Key: SOLR-7379
> URL: https://issues.apache.org/jira/browse/SOLR-7379
> Project: Solr
> Issue Type: New Feature
> Components: spatial
> Reporter: David Smiley
> Assignee: David Smiley
> Fix For: 5.2
>
>
> We should add a Solr spatial FieldType that uses the new
> CompositeSpatialStrategy. Essentially this enabled geometry backed shapes for
> accuracy combined with the grid indexes of RPT for speed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]