lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Loofbourrow <bloofbour...@knowledgemosaic.com>
Subject RE: Exception using distributed field-collapsing
Date Thu, 21 Jun 2012 17:32:37 GMT
Cody,

> Does it work in the non distributed case?

Yes.

>
> Is the field you're grouping on stored? What is the type on the
uniqueKey
> field? Is it stored and indexed?

The field I'm grouping on is a string, stored and indexed. The unique key
field is a string, stored and indexed.

> I've had a problem with distributed not working when the uniqueKey field
> was indexed but not stored.

Was it the same exception I'm seeing?

-- Bryan

>
> -----Original Message-----
> From: Bryan Loofbourrow [mailto:bloofbourrow@knowledgemosaic.com]
> Sent: Wednesday, June 20, 2012 1:54 PM
> To: solr-user@lucene.apache.org
> Subject: RE: Exception using distributed field-collapsing
>
> > Hi Bryan,
> >
> > What is the fieldtype of the groupField? You can only group by field
> > that is of type string as is described in the wiki:
> > http://wiki.apache.org/solr/FieldCollapsing#Request_Parameters
> >
> > When you group by another field type a http 400 should be returned
> > instead if this error. At least that what I'd expect.
> >
> > Martijn
>
> Martijn,
>
> The group-by field is a string. I have been unable to figure how a date
> comes into the picture at all, and have basically been wondering if
there
> is some problem in the grouping code that misaligns the field values
from
> different results in the group, so that it is not comparing like with
> like. Not a strong theory, just the only thing I can think of.
>
> -- Bryan

Mime
View raw message