[
https://issues.apache.org/jira/browse/SOLR-7128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14337915#comment-14337915
]
Erick Erickson commented on SOLR-7128:
--------------------------------------
Shalin:
I was looking at the fact that two-phase distributed search also _decompresses_
the doc to get the ID to pass back to the aggregator on the first pass, on the
surface I don't see why all the fields that need to be passed back can't be
taken from indexed terms, i.e. the ID and sort criteria for each doc _better_
be indexed terms. see: https://issues.apache.org/jira/browse/SOLR-6888, and one
comment was that https://issues.apache.org/jira/browse/SOLR-6810 would take
care of this.
Just wondering how this issue relates to those two for my background.
Thanks!
> Two phase distributed search is fetching extra fields in GET_TOP_IDS phase
> --------------------------------------------------------------------------
>
> Key: SOLR-7128
> URL: https://issues.apache.org/jira/browse/SOLR-7128
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 4.10.2, 4.10.3
> Reporter: Shalin Shekhar Mangar
> Assignee: Shalin Shekhar Mangar
> Fix For: Trunk, 5.1
>
> Attachments: SOLR-7128.patch, SOLR-7128.patch, SOLR-7128.patch
>
>
> [~pqueixalos] reported this to me privately so I am creating this issue on
> his behalf.
> {quote}
> We found an issue in versions 4.10.+ (4.10.2 and 4.10.3 for sure).
> When processing a two phase distributed query with an explicit fl parameter,
> the two phases are well processed, but the GET_TOP_IDS retrieves the matching
> documents fields, even if a GET_FIELDS shard request is getting executed just
> after.
> /solr/someCollectionCore?collection=someOtherCollection&q=*:*&debug=true&fl=id,title
> => id is retrieved during GET_TOP_IDS phase that's ok:: it's our
> uniqueKeyField
> => title is also retrieved during GET_TOP_IDS phase, that's not ok.
> {quote}
> I'm able to reproduce this. This is pretty bad performance bug that was
> introduced in SOLR-5768 or it's subsequent related issues. I plan to fix this
> bug and add substantial tests to assert such things.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]