You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Guido.Laucke@uksh.de" <Gu...@uksh.de> on 2017/10/23 10:47:54 UTC
Problem JOIN Solr
Hi,
i have a problem with JOIN-Function (query of two collections)
I have two collections
"ColAAA" and "ColBBB"
ColAAA => field ABC fieldtype "text_general" or "string"
ColBBB => fields XYZ and DEF fieldtype "string"
Example of field "ABC" -> "SomeWord 250kg"
With the JOIN-Function I want to subquery in collection ColBBB field "DEF" and use the result of XYZ as a query in field "ABC" of collection ColAAA
Query in collection ColAAA
{Join! from=XYZ to=ABC FromIndex=ColBBB}DEF=Something
What works:
When the result of XYZ is "SomeWord" (without 250kg) in ColBBB, that finds a match in ColAAA field ABC "SomeWord 250kg"
What does not work:
When the result of XYZ is "SomeWord 250kg" in ColBBB, that does not find in ColAAA field ABC "SomeWord 250kg"
What do I miss?
Greetings
Guido
[http://media.uksh.de/logo/uksh.gif]
Universit?tsklinikum Schleswig-Holstein
Rechtsf?hige Anstalt des ?ffentlichen Rechts der Christian-Albrechts-Universit?t zu Kiel und der Universit?t zu L?beck
Vorstandsmitglieder: Prof. Dr. Jens Scholz (Vorsitzender), Peter Pansegrau, Christa Meyer, Prof. Dr. Thomas M?nte, Prof. Dr. Ulrich Stephani
Vorsitzender der Gew?hrtr?gerversammlung: Dr. Philipp Nimmermann
Bankverbindungen:
F?rde Sparkasse IBAN: DE14 2105 0170 0000 1002 06 SWIFT/BIC: NOLA DE 21 KIE
Commerzbank AG IBAN: DE17 2308 0040 0300 0412 00 SWIFT/BIC: DRES DE FF 230
Diese E-Mail enth?lt vertrauliche Informationen und ist nur f?r die Personen bestimmt, an welche sie gerichtet ist.
Sollten Sie nicht der bestimmungsgem??e Empf?nger sein, bitten wir Sie, uns hiervon unverz?glich zu unterrichten und die E-Mail zu vernichten.
Wir weisen darauf hin, dass der Gebrauch und die Weiterleitung einer nicht bestimmungsgem?? empfangenen E-Mail und ihres Inhalts gesetzlich verboten sind und ggf. Schadensersatzanspr?che ausl?sen k?nnen.