lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "FieldCollapsing" by martijn
Date Sun, 15 Nov 2009 21:11:26 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "FieldCollapsing" page has been changed by martijn.
The comment on this change is: added paragraph about distributed field collapsing.
http://wiki.apache.org/solr/FieldCollapsing?action=diff&rev1=9&rev2=10

--------------------------------------------------

  }}}
  The response is now centred around collapse groups. A collapse group represents documents
that were collapsed during the search. A collapse group is identifier by the most relevant
document of that collapse group, which is document that did not get collapsed and remained
present in the search result. So the ids like 233238 are from documents that are also present
in the search result.
  
+ == Distributed field collapsing ==
+ Currently field collapsing is supported when doing a distributed search, but it has a limitation.
While indexing you must make sure that the documents of a collapse group are not scattered
across different shards. Documents of a collapse group must reside on the same shard, failing
to do so will corrupt your search results. Doing a distributed search with collapsing requires
not extra parameters to be send with the request. For example the following request is sufficient:
http://localhost:8080/solr/select/?q=solr&field.collapse=my_field&shards=localhost:55527/solr,localhost:55529/solr
+ 
  == Other resources ==
  Some other resources regarding to field collapsing:
  

Mime
View raw message