Re: Issue with field collapsing in solr 4 while performing distributed search

2012-06-11 Thread roz dev
I think that there is no way around doing custom logic in this case. If indexing process knows that documents have to be grouped then they better be together. -Saroj On Mon, Jun 11, 2012 at 6:37 AM, Nitesh Nandy wrote: > Martijn, > > How do we add a custom algorithm for distributing documents

Re: Issue with field collapsing in solr 4 while performing distributed search

2012-06-11 Thread Nitesh Nandy
Martijn, How do we add a custom algorithm for distributing documents in Solr Cloud? According to this discussion http://lucene.472066.n3.nabble.com/SolrCloud-how-to-index-documents-into-a-specific-core-and-how-to-search-against-that-core-td3985262.html , Mark discourages users from using custom d

Re: Issue with field collapsing in solr 4 while performing distributed search

2012-06-11 Thread Jack Krupansky
---Original Message- From: Martijn v Groningen Sent: Monday, June 11, 2012 8:53 AM To: solr-user@lucene.apache.org Subject: Re: Issue with field collapsing in solr 4 while performing distributed search The ngroups returns the number of groups that have matched with the query. However if you w

Re: Issue with field collapsing in solr 4 while performing distributed search

2012-06-11 Thread Martijn v Groningen
The ngroups returns the number of groups that have matched with the query. However if you want ngroups to be correct in a distributed environment you need to put document belonging to the same group into the same shard. Groups can't cross shard boundaries. I guess you need to do some manual documen