[ 
https://issues.apache.org/jira/browse/SOLR-4854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14971792#comment-14971792
 ] 

Ray commented on SOLR-4854:
---------------------------

Here is the test steps:
1. enable QueryElevationComponent in solr server, please refer to wiki 
https://cwiki.apache.org/confluence/display/solr/The+Query+Elevation+Component
2. call the solr with following parameters (I am using id as uniqueKey in my 
schema):
q=foo&fl=id,[elevated]&enableElevation=true&forceElevation=true&elevateIds=<document_id>&wt=javabin&version=2
make sure the document of <document_id> existed in your index.
check the response to see if  [elevated]  value is true for document with id  
<document_id>

We also need to verify another case with elevate.xml defined, instead of 
passing elevateIds in API.

Let me know if you need more information.

> Query elevation [elevated] field always false with java binary communication
> ----------------------------------------------------------------------------
>
>                 Key: SOLR-4854
>                 URL: https://issues.apache.org/jira/browse/SOLR-4854
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 4.3
>         Environment: tomcat 6.0.33, java 1.6.0_26_x64, solrj 4.3
>            Reporter: Istvan Hegedus
>         Attachments: SOLR-4854.patch
>
>
> With XMLResponseParser there is no problem, but with default 
> BinaryResponseWriter [elevated] is always false.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to