[ 
https://issues.apache.org/jira/browse/SOLR-3304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andy Fowler updated SOLR-3304:
------------------------------

    Attachment: SOLR-3304_Solr_fields_for_Lucene_spatial_module (fieldName in 
Strategy) - indexableFields.patch

I've been playing around with this against the current 4x branch. I've attached 
the original patch with one small tweak to 
AbstractSpatialFieldType.createFields, fixing a bug caught at compile-time. 

I'm pretty far out of my league trying to work on this, but I'm getting an NPE 
at 
AbstractSpatialFieldType.getQueryFromSpatialArgs(AbstractSpatialFieldType.java:178).
 It appears that createFields is never being called, so the fieldStrategyMap is 
empty when a query arrives. Not sure where in the lifecycle createFields is 
supposed to happen.

Just throwing my progress out there for others looking at this.
                
> Add Solr support for the new Lucene spatial module
> --------------------------------------------------
>
>                 Key: SOLR-3304
>                 URL: https://issues.apache.org/jira/browse/SOLR-3304
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 4.0-ALPHA
>            Reporter: Bill Bell
>            Assignee: David Smiley
>              Labels: spatial
>         Attachments: SOLR-3304_Solr_fields_for_Lucene_spatial_module 
> (fieldName in Strategy) - indexableFields.patch, 
> SOLR-3304_Solr_fields_for_Lucene_spatial_module (fieldName in 
> Strategy).patch, SOLR-3304_Solr_fields_for_Lucene_spatial_module.patch, 
> SOLR-3304_Solr_fields_for_Lucene_spatial_module.patch
>
>
> Get the Solr spatial module integrated with the lucene spatial module.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to