lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Heigl <>
Subject Exception when using result grouping and sorting by geodist() with Solr 3.3
Date Sun, 03 Jul 2011 17:14:39 GMT

I just tried up(down?)grading our current Solr 4.0 trunk setup to Solr 3.3.0
as result grouping was the only reason for us to stay with the trunk.
Everything worked like a charm except for one of our queries, where we group
results by the owning user and sort by distance.

A simplified example for my query (that still fails) looks like this:

> asc

The exception thrown is:

Caused by: org.apache.solr.common.SolrException: Unweighted use of sort
> geodist(latlon(user.location_p),48.20927,16.3728)
> at
> at
> at
> at
> at
> at
> at
> org.apache.solr.handler.component.QueryComponent.process(
> 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.client.solrj.embedded.EmbeddedSolrServer.request(
> ... 39 more

Any ideas how to fix this or work around this error for now? I'd really like
to move from the trunk to the stable 3.3.0 release and this is the only
problem currently keeping me from doing so.



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