Re: Is solrj 3.3.0 ready for field collapsing?
Let's see the results of adding debugQuery=on to your URL. Are you getting any documents back at all? If not, then your query isn't getting any documents to group. You haven't told us much about what you're trying to do, you might want to review: http://wiki.apache.org/solr/UsingMailingLists Best Erick On Jul 4, 2011 11:55 AM, Per Newgro per.new...@gmx.ch wrote:
Re: Is solrj 3.3.0 ready for field collapsing?
Thanks for your response. Am 05.07.2011 13:53, schrieb Erick Erickson: Let's see the results of addingdebugQuery=on to your URL. Are you getting any documents back at all? If not, then your query isn't getting any documents to group. I didn't get any docs back. But they have been in the response (I saw them in debugger). But the structure had changed so that DocumentBuilder didn't brought me any results (getBeans()). I investigated a bit further and found out that i had to set the |*group_main param to true. https://builds.apache.org/job/Solr-trunk/javadoc/org/apache/solr/common/params/GroupParams.html#GROUP_MAIN Now is get results. So the answer seems to be yes :-). *| You haven't told us much about what you're trying to do, you might want to review: http://wiki.apache.org/solr/UsingMailingLists Sorry for that. Best Erick On Jul 4, 2011 11:55 AM, Per Newgroper.new...@gmx.ch wrote: Cheers Per
Re: Is solrj 3.3.0 ready for field collapsing?
On Mon, Jul 4, 2011 at 11:54 AM, Per Newgro per.new...@gmx.ch wrote: i've tried to add the params for group=true and group.field=myfield by using the SolrQuery. But the result is null. Do i have to configure something? In wiki part for field collapsing i couldn't find anything. No specific (type-safe) support for grouping is in SolrJ currently. But you should still have access to the complete generic solr response via SolrJ regardless (i.e. use getResponse()) -Yonik http://www.lucidimagination.com
Re: Is solrj 3.3.0 ready for field collapsing?
patches are always welcome! On Tue, Jul 5, 2011 at 3:04 PM, Yonik Seeley yo...@lucidimagination.com wrote: On Mon, Jul 4, 2011 at 11:54 AM, Per Newgro per.new...@gmx.ch wrote: i've tried to add the params for group=true and group.field=myfield by using the SolrQuery. But the result is null. Do i have to configure something? In wiki part for field collapsing i couldn't find anything. No specific (type-safe) support for grouping is in SolrJ currently. But you should still have access to the complete generic solr response via SolrJ regardless (i.e. use getResponse()) -Yonik http://www.lucidimagination.com
Is solrj 3.3.0 ready for field collapsing?
Hi, i've tried to add the params for group=true and group.field=myfield by using the SolrQuery. But the result is null. Do i have to configure something? In wiki part for field collapsing i couldn't find anything. Thanks Per