lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <>
Subject [jira] [Updated] (SOLR-2665) Solr Post Group Faceting
Date Thu, 28 Jul 2011 20:16:09 GMT


Tomás Fernández Löbbe updated SOLR-2665:

    Attachment: SOLR-2665.patch

Martijn, current patch breaks when the group field is not a String and there is no specific
sort. This is the stacktrace of the Exception:

	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.servlet.SolrDispatchFilter.execute(
	at org.apache.solr.servlet.SolrDispatchFilter.doFilter(
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(
	at org.mortbay.jetty.servlet.ServletHandler.handle(
	at org.mortbay.jetty.servlet.SessionHandler.handle(
	at org.mortbay.jetty.handler.ContextHandler.handle(
	at org.mortbay.jetty.webapp.WebAppContext.handle(
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(
	at org.mortbay.jetty.handler.HandlerCollection.handle(
	at org.mortbay.jetty.handler.HandlerWrapper.handle(
	at org.mortbay.jetty.Server.handle(
	at org.mortbay.jetty.HttpConnection.handleRequest(
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(
	at org.mortbay.jetty.HttpParser.parseNext(
	at org.mortbay.jetty.HttpParser.parseAvailable(
	at org.mortbay.jetty.HttpConnection.handle(
	at org.mortbay.thread.QueuedThreadPool$

I got to this exception by using Solr's example schema/data and this request:

I'm uploading a patch isolating this error and a fix.

Also, I don't know why, but the test case testGroupingSortByFunction with the extra line you
added on the previous patch
assertU(add(doc("id", "6", "value1_i", "1", "value2_i", "5", "store", "45.18014,-93.87746")));
didn't run correctly for me, I'm not sure why should it run. I didn't touch that line but
that test doesn't run for me.

> Solr Post Group Faceting
> ------------------------
>                 Key: SOLR-2665
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>    Affects Versions: 3.3
>            Reporter: Bill Bell
>            Assignee: Martijn van Groningen
>             Fix For: 3.4, 4.0
>         Attachments: SOLR-2665.patch, SOLR-2665.patch
> Once Lucene is wired, add this feature to Solr.

This message is automatically generated by JIRA.
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message