You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by no...@gmx.de on 2012/04/17 10:50:52 UTC

Elevation togehter with grouping

Hi,

is it posible to use query elevation togehter with result grouping?

I tried 

http://localhost:8983/solr/elevate?enableElevation=true&fl=score%2C[elevated]%2Cid%2Cname&forceElevation=true&group.field=manu&group=on&indent=on&q=ipod&wt=json


but the results ignored the elevation:

{
  "responseHeader":{
    "status":0,
    "QTime":2,
    "params":{
      "enableElevation":"true",
      "fl":"score,[elevated],id,name",
      "indent":"on",
      "q":"ipod",
      "forceElevation":"true",
      "group.field":"manu",
      "group":"on",
      "wt":"json"}},
  "grouped":{
    "manu":{
      "matches":2,
      "groups":[{
          "groupValue":"belkin",
          "doclist":{"numFound":1,"start":0,"maxScore":0.7698604,"docs":[
              {
                "id":"F8V7067-APL-KIT",
                "name":"Belkin Mobile Power Cord for iPod w/ Dock",
                "score":0.7698604,
                "[elevated]":false}]
          }},
        {
          "groupValue":"inc",
          "doclist":{"numFound":1,"start":0,"maxScore":0.28869766,"docs":[
              {
                "id":"MA147LL/A",
                "name":"Apple 60 GB iPod with Video Playback Black",
                "score":0.28869766,
                "[elevated]":true}]
          }}]}}}


Best Regards,
      Michael 
-- 
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!                                  
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a

Re: Elevation togehter with grouping

Posted by davers <db...@improvementdirect.com>.
I would also like to use the elevate component with grouping is this
possible?



--
View this message in context: http://lucene.472066.n3.nabble.com/Elevation-togehter-with-grouping-tp3916981p4029475.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Elevation togehter with grouping

Posted by tushar_k47 <ma...@gmail.com>.
Hi,

I am facing an identical problem. Does anyone have any pointers on this ?

Regards,
Tushar

--
View this message in context: http://lucene.472066.n3.nabble.com/Elevation-togehter-with-grouping-tp3916981p3992925.html
Sent from the Solr - User mailing list archive at Nabble.com.