[jira] [Commented] (SOLR-3936) QueryElevationComponent: Wrong order when result grouping is activated

2013-08-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13742405#comment-13742405
 ] 

ASF subversion and git services commented on SOLR-3936:
---

Commit 1514795 from hoss...@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1514795 ]

SOLR-3936: Fixed QueryElevationComponent sorting when used with Grouping

 QueryElevationComponent: Wrong order when result grouping is activated
 --

 Key: SOLR-3936
 URL: https://issues.apache.org/jira/browse/SOLR-3936
 Project: Solr
  Issue Type: Bug
  Components: SearchComponents - other
Affects Versions: 4.0
Reporter: Michael Berger
Assignee: Hoss Man
 Attachments: SOLR-3936.patch, SOLR-3936.patch


 When I use elevation together with grouping I got not the expected result 
 order.
 I tried it with the standard solr example:
 http://localhost:8983/solr/elevate?enableElevation=truefl=score%2C[elevated]%2Cid%2CnameforceElevation=truegroup.field=manugroup=onindent=onq=ipodwt=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}] 
   }}]}}}
 the elevate.xml defines the following rules :
 query text=ipod
doc id=MA147LL/A /  !-- put the actual ipod at the top --
doc id=IW-02 exclude=true / !-- exclude this cable --
  /query
  
 /elevate

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3936) QueryElevationComponent: Wrong order when result grouping is activated

2013-08-16 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13742500#comment-13742500
 ] 

ASF subversion and git services commented on SOLR-3936:
---

Commit 1514836 from hoss...@apache.org in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1514836 ]

SOLR-3936: Fixed QueryElevationComponent sorting when used with Grouping (merge 
r1514795)

 QueryElevationComponent: Wrong order when result grouping is activated
 --

 Key: SOLR-3936
 URL: https://issues.apache.org/jira/browse/SOLR-3936
 Project: Solr
  Issue Type: Bug
  Components: SearchComponents - other
Affects Versions: 4.0
Reporter: Michael Berger
Assignee: Hoss Man
 Attachments: SOLR-3936.patch, SOLR-3936.patch


 When I use elevation together with grouping I got not the expected result 
 order.
 I tried it with the standard solr example:
 http://localhost:8983/solr/elevate?enableElevation=truefl=score%2C[elevated]%2Cid%2CnameforceElevation=truegroup.field=manugroup=onindent=onq=ipodwt=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}] 
   }}]}}}
 the elevate.xml defines the following rules :
 query text=ipod
doc id=MA147LL/A /  !-- put the actual ipod at the top --
doc id=IW-02 exclude=true / !-- exclude this cable --
  /query
  
 /elevate

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3936) QueryElevationComponent: Wrong order when result grouping is activated

2013-08-15 Thread Michael Garski (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13741729#comment-13741729
 ] 

Michael Garski commented on SOLR-3936:
--

Great! Thanks [~hossman]!

 QueryElevationComponent: Wrong order when result grouping is activated
 --

 Key: SOLR-3936
 URL: https://issues.apache.org/jira/browse/SOLR-3936
 Project: Solr
  Issue Type: Bug
  Components: SearchComponents - other
Affects Versions: 4.0
Reporter: Michael Berger
Assignee: Hoss Man
 Attachments: SOLR-3936.patch, SOLR-3936.patch


 When I use elevation together with grouping I got not the expected result 
 order.
 I tried it with the standard solr example:
 http://localhost:8983/solr/elevate?enableElevation=truefl=score%2C[elevated]%2Cid%2CnameforceElevation=truegroup.field=manugroup=onindent=onq=ipodwt=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}] 
   }}]}}}
 the elevate.xml defines the following rules :
 query text=ipod
doc id=MA147LL/A /  !-- put the actual ipod at the top --
doc id=IW-02 exclude=true / !-- exclude this cable --
  /query
  
 /elevate

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3936) QueryElevationComponent: Wrong order when result grouping is activated

2012-11-01 Thread Michael Berger (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13489039#comment-13489039
 ] 

Michael Berger commented on SOLR-3936:
--

I tried to fix by myself:

debug:{
queryBoosting:{
  q:ipod,
  match:[MA147LL/A]},
rawquerystring:ipod,
querystring:ipod,
parsedquery:(text:ipod ((id:MA147LL/A)^10.0) -id:IW-02)/no_coord,
parsedquery_toString:text:ipod ((id:MA147LL/A)^0.0) -id:IW-02,

I found that the boost factor is too low. 

I set a higher boost factor for booster.include in QueryElevationComponent.java 
and I get the expected result from my query.






 QueryElevationComponent: Wrong order when result grouping is activated
 --

 Key: SOLR-3936
 URL: https://issues.apache.org/jira/browse/SOLR-3936
 Project: Solr
  Issue Type: Bug
  Components: SearchComponents - other
Affects Versions: 4.0
Reporter: Michael Berger

 When I use elevation together with grouping I got not the expected result 
 order.
 I tried it with the standard solr example:
 http://localhost:8983/solr/elevate?enableElevation=truefl=score%2C[elevated]%2Cid%2CnameforceElevation=truegroup.field=manugroup=onindent=onq=ipodwt=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}] 
   }}]}}}
 the elevate.xml defines the following rules :
 query text=ipod
doc id=MA147LL/A /  !-- put the actual ipod at the top --
doc id=IW-02 exclude=true / !-- exclude this cable --
  /query
  
 /elevate

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org