fieldcollapsing

Solr field collapsing

为君一笑 提交于 2019-12-12 09:11:48
问题 I read http://wiki.apache.org/solr/FieldCollapsing and I tried the query http://192.168.0.1:8080/solr/append/select?q=mobile&group=true&group.field=brand and I don't see the field collapsing. I mean I see the results, but not the grouping. My understanding is it should work, nothing to change in the solrconfig.xml ? In my schema, all my field are stored/index. My index is Lucene 2.9 and my Solr is 1.4.1. I don't see what I doing wrong... 回答1: Field collapsing is not available in Solr 1.4.1.

reducing similar top results in solr result output

徘徊边缘 提交于 2019-12-09 07:11:30
问题 I have a search in solr that is returning about 1500 documents. These documents are basically products. For example, I have a bunch of womens shoes in my dataset. My dataset has a wide variety of shoes for women, but it also has some very similar results, for instance, size 11 womens nike trainers, size 10 womens nike trainers, etc... Now, when I search for womens shoes, solr scoring causes a certain set of these results to bubble to the top that are all very similar.. For instance, all the

Solr FieldCollapsing for More Like This queries

只愿长相守 提交于 2019-12-08 07:33:45
问题 I want to use a "More Like This" query to find similar documents and collapse those that have the same value for the field 'image'. I tried to use the Field Collapsing parameters however they do not seem to work for "More like this". Below is a snippet of my code. Can you tell me how to collapse results using the "More Like This" query? $url = "http://{$host}:{$port}/solr/{$core}/mlt"; $data = [ 'stream.body' => $content, 'fl' => 'image,content,title,signature', 'start' => 0, 'order' =>

Solr field collapsing

六眼飞鱼酱① 提交于 2019-12-04 17:07:24
I read http://wiki.apache.org/solr/FieldCollapsing and I tried the query http://192.168.0.1:8080/solr/append/select?q=mobile&group=true&group.field=brand and I don't see the field collapsing. I mean I see the results, but not the grouping. My understanding is it should work, nothing to change in the solrconfig.xml ? In my schema, all my field are stored/index. My index is Lucene 2.9 and my Solr is 1.4.1. I don't see what I doing wrong... Field collapsing is not available in Solr 1.4.1. You need Solr 3.3 or 4.0 (currently unreleased). The wiki page about field collapsing also explains "If you