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

tom liu commented on SOLR-2224:
-------------------------------

we can delete distributedProcess method, and add modifyRequest method:
{noformat}
public void modifyRequest(ResponseBuilder rb, SearchComponent who, ShardRequest 
sreq) {
          if (rb.stage == ResponseBuilder.STAGE_GET_FIELDS)
                  sreq.params.set("tv", true);
          else
                  sreq.params.set("tv", false);
}
{noformat}

> TermVectorComponent did not return results when using distributedProcess in 
> distribution envs
> ---------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2224
>                 URL: https://issues.apache.org/jira/browse/SOLR-2224
>             Project: Solr
>          Issue Type: Bug
>          Components: SearchComponents - other
>    Affects Versions: 4.0
>         Environment: JDK1.6/Tomcat6
>            Reporter: tom liu
>
> when using distributed query, TVRH did not return any results.
> in distributedProcess, tv creates one request, that use 
> TermVectorParams.DOC_IDS, for example, tv.docIds=10001
> but queryCommponent returns ids, that is uniqueKeys, not DOCIDS.
> so, in distribution envs, must not use distributedProcess.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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

Reply via email to