Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
6.3
-
None
-
None
Description
numeric "from" field is mistakenly looked in "to" schema. see org.apache.solr.search.join.ScoreJoinQParserPlugin.....parse()
private Query createQuery(final String fromField, final String fromQueryStr, String fromIndex, final String toField, final ScoreMode scoreMode, boolean byPassShortCircutCheck) throws SyntaxError { + FieldType.LegacyNumericType fromNumericType = req.getSchema().getField(fromField).getType().getNumericType(); + FieldType.LegacyNumericType toNumericType = req.getSchema().getField(toField).getType().getNumericType();
it's in branch_6x only. Users who are faced this are advised to just declare "from" field in "to" schema. It should work. Take care.
one line fix and improvements for TestCrossCoreJoin.java are quite welcome.
Attachments
Attachments
Issue Links
- is broken by
-
SOLR-8395 query-time join (with scoring) for single value numeric fields::6.x ONLY
- Closed