You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "tom liu (JIRA)" <ji...@apache.org> on 2010/11/09 04:18:06 UTC
[jira] Created: (SOLR-2224) TermVectorComponent did not return
results when using distributedProcess in distribution envs
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Updated: (SOLR-2224) TermVectorComponent did not return
results when using distributedProcess in distribution envs
Posted by "tom liu (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
tom liu updated SOLR-2224:
--------------------------
Attachment: TermsVectorComponent.patch
in distributed query envs, use request that queryComponents creates.
the patch use merge method that debugComponents have.
see https://issues.apache.org/jira/browse/SOLR-2228
> 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
> Attachments: TermsVectorComponent.patch
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] Commented: (SOLR-2224) TermVectorComponent did not return
results when using distributedProcess in distribution envs
Posted by "tom liu (JIRA)" <ji...@apache.org>.
[ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org