lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Westphal (JIRA)" <>
Subject [jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr
Date Thu, 14 Jan 2010 02:34:55 GMT


Brian Westphal commented on SOLR-773:

I'm gonna work on getting stuff tested with solr 1.5.  I wanted to ask about another issue
in the meantime however.

I've noticed that I get a "Illegal Latitude Value" exception sometimes when working with points
near the poles or just when working with very large radii.  I would personally rather the
system just cutoff at -90 and 90 artificially than throw an error.  I'm not worried about
finding things near the poles as much as I'd like to be able to use bigger search radii, but
I don't care if it wraps around the earth correctly latitudinally speaking. (if avoiding this
issue were doable by a flag or something, that'd be great too)

Here's the more precise error if it helps:
HTTP Status 500 - Illegal latitude value 113.29902312168412 java.lang.IllegalArgumentException:
Illegal latitude value 113.29902312168412 at org.apache.lucene.spatial.geometry.FloatLatLng.<init>(
at org.apache.lucene.spatial.geometry.shape.LLRect.createBox( at org.apache.lucene.spatial.tier.DistanceUtils.getBoundary(
at org.apache.lucene.spatial.tier.CartesianPolyFilterBuilder.getBoxShape(
at org.apache.lucene.spatial.tier.CartesianPolyFilterBuilder.getBoundingArea(
at org.apache.lucene.spatial.tier.DistanceQueryBuilder.<init>(
at org.apache.solr.handler.component.SearchHandler.handleRequestBody(
at org.apache.solr.handler.RequestHandlerBase.handleRequest( at
org.apache.solr.core.SolrCore.execute( at org.apache.solr.servlet.SolrDispatchFilter.execute(
at org.apache.solr.servlet.SolrDispatchFilter.doFilter( at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke( at
org.apache.catalina.core.StandardContextValve.invoke( at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke( at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service( at org.apache.coyote.http11.Http11Processor.process(
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(
at$ at

> Incorporate Local Lucene/Solr
> -----------------------------
>                 Key: SOLR-773
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 1.5
>         Attachments:, lucene-spatial-2.9-dev.jar, lucene.tar.gz, screenshot-1.jpg,
SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch, SOLR-773-local-lucene.patch,
SOLR-773-local-lucene.patch, SOLR-773-spatial_solr.patch, SOLR-773.patch, SOLR-773.patch,
solrGeoQuery.tar, spatial-solr.tar.gz
> Local Lucene has been donated to the Lucene project.  It has some Solr components, but
we should evaluate how best to incorporate it into Solr.
> See

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message