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

Hoss Man commented on SOLR-10939:
---------------------------------


At the lucene level it appears that {{JoinUtil}} does support joining on 
numeric Points fields (w/o DocValues) if the appropriate numeric type is 
specified -- so it seems like:

* ScoreJoinQParser should use the numeric join if the from/to fields are numeric
* JoinQParser should behave as if {{score=None}} was specified (and delegate to 
ScoreJoinQParser) if the from/to fields are numeric
* in both cases, better error handling should validate that the fields are of 
the same numeric type.

> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to