You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kenny Knecht (Jira)" <ji...@apache.org> on 2021/07/29 10:26:00 UTC

[jira] [Created] (SOLR-15571) Content of some fiels not return in streaming expressions

Kenny Knecht created SOLR-15571:
-----------------------------------

             Summary: Content of some fiels not return in streaming expressions
                 Key: SOLR-15571
                 URL: https://issues.apache.org/jira/browse/SOLR-15571
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: streaming expressions
    Affects Versions: 8.7
            Reporter: Kenny Knecht


in the query window I get

with query `canonical_type:"<http://ns.ontoforce.com/ontologies/integration_ontology#ClinicalStudy>" AND Collaborator_ss:"<http://ns.ontoforce.com/organization/clinical_trials/nct00981058/medidata_solutions>"`

 

```
 
{{{
        "Collaborator_ss":["<http://ns.ontoforce.com/organization/clinical_trials/nct01133327/cro_genae>",          "<http://ns.ontoforce.com/organization/clinical_trials/nct00000173/massachusetts_general_hospital>",          "<http://ns.ontoforce.com/organization/clinical_trials/nct00981058/medidata_solutions>",          "<http://ns.ontoforce.com/organization/clinical_trials/nct00029536/beth_israel_deaconess_medical_center>"],
        "Collaborator_rt_source_ss":["http://ns.ontoforce.com/organization/clinical_trials/nct00029536/beth_israel_deaconess_medical_center",          "http://ns.ontoforce.com/organization/clinical_trials/nct00981058/medidata_solutions",          "http://ns.ontoforce.com/organization/clinical_trials/nct01133327/cro_genae",          "http://ns.ontoforce.com/organization/clinical_trials/nct00000173/massachusetts_general_hospital"],
        "id":"http://identifiers.org/clinicaltrials/NCT01133327"},}}

while in streaming expressions with query

``` 

search(core_data, q="canonical_type:\"<http://ns.ontoforce.com/ontologies/integration_ontology#ClinicalStudy>\" AND Collaborator_ss:\"<http://ns.ontoforce.com/organization/clinical_trials/nct00981058/medidata_solutions>\"", qt:"/export", fl="id, label,Collaborator_rt_source_ss, Collaborator_ss", sort="id asc", rows=10)

```

The result

```
 
{{      \{
        "id": "http://identifiers.org/clinicaltrials/NCT00981058",
        "label": "First-line Treatment of Participants With Stage IV Squamous Non-Small Cell Lung Cancer With Necitumumab and Gemcitabine-Cisplatin",
        "Collaborator_rt_source_ss": [
          "http://ns.ontoforce.com/organization/clinical_trials/nct00981058/intertek",
          "http://ns.ontoforce.com/organization/clinical_trials/nct00981058/thermo_fisher_scientific",
          "http://ns.ontoforce.com/organization/clinical_trials/nct00774748/laboratory_corporation_of_america",
          "http://ns.ontoforce.com/organization/clinical_trials/nct00002347/parexel",
          "http://ns.ontoforce.com/organization/clinical_trials/nct00000326/university_of_colorado__denver",
          "http://ns.ontoforce.com/organization/clinical_trials/nct00981058/pacific_biomarkers",
          "http://ns.ontoforce.com/organization/clinical_trials/nct00981058/medidata_solutions",
          "http://ns.ontoforce.com/organization/clinical_trials/nct00006397/ppd",
          "http://ns.ontoforce.com/organization/clinical_trials/nct00981058/sysmex_inostics_gmbh",
          "http://ns.ontoforce.com/organization/clinical_trials/nct00057616/icon_clinical_research"
        ],
        "Collaborator_ss": [
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          "",
          ""
        ]
      },}}```

 

 So the field Collaborator_ss (whihc contains the same content of like the field Collaborator_rt_source_ss but with enclosing `<>` returns an empty string !?

Same field type *_ss, otherwise same content

 

BTW tried adding screenshot and did not work



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org