lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SOLR-10939) JoinQParser gives incorrect results with numeric PointsFields
Date Fri, 04 Aug 2017 15:11:00 GMT

     [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message