[ 
https://issues.apache.org/jira/browse/SOLR-10939?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yonik Seeley updated SOLR-10939:
--------------------------------
    Attachment: SOLR-10939.patch

Here's a patch that refactors and reuses the graph points collector for join.
I also made some changes to the join test:
1) if Points are selected, then docValues must be enabled (an exception is 
thrown otherwise)
2) removed testing joins across incompatible fields (for example matching an 
int field to a text field won't result in any matches)


> JoinQParser gives incorrect results with numeric PointsFields
> -------------------------------------------------------------
>
>                 Key: SOLR-10939
>                 URL: https://issues.apache.org/jira/browse/SOLR-10939
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Hoss Man
>            Assignee: Yonik Seeley
>            Priority: Blocker
>              Labels: numeric-tries-to-points
>             Fix For: 7.0
>
>         Attachments: SOLR-10939.patch
>
>
> If you try to use the {{\{!join\}}} QParser with numeric points fields, you 
> will get silently incorrect results.
> The underlying root cause seems to be that JoinQParser's JoinQuery assumes 
> every field it's dealing with has indexed terms. (AFAICT it won't even work 
> with {{indexed="false" docValues="true"}} Trie fields????)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to