^ "{"from":0,"size":15,"_source":[],"query":{"bool":{"must":[{"term":{"subjectkeywords.subjectcode.keyword":"Educaci\u00f3n superior"}},{"prefix":{"subjectthema.subjectcode.keyword":"J"}},{"nested":{"path":"publishers","query":{"bool":{"must":[{"terms":{"publishers.pubid":["8a831d50869bd4271f1b20a4a00a28d0"]}},{"match":{"publishers.pubmain":true}}]}}}}],"filter":[{"term":{"generalstatus":true}}]}},"sort":[{"_script":{"type":"string","script":{"lang":"painless","source":"if(doc[\"ebook.publishingdate\"].value != null && doc[\"ebook.publishingdate\"].value >= doc[\"print.publishingdate\"].value) { return doc[\"ebook.publishingdate\"].value; } else if(doc[\"print.publishingdate\"].value != null  && doc[\"print.publishingdate\"].value >= doc[\"ebook.publishingdate\"].value) { return doc[\"print.publishingdate\"].value; } else { return \"0\";}"},"order":"desc"}},{"created_at":{"order":"desc"}}],"aggs":{"publisher_counter":{"nested":{"path":"publishers"},"aggs":{"publisher_id_count":{"terms":{"field":"publishers.pubid","size":1}}}},"subject_counter":{"terms":{"field":"subjectthema.subjectcode.keyword","size":10000,"order":{"_key":"asc"}}},"format_counter_print":{"filter":{"exists":{"field":"print"}}},"format_counter_ebook":{"filter":{"exists":{"field":"ebook"}}},"format_counter_pod":{"filter":{"exists":{"field":"pod"}}},"format_counter_audiolibro":{"filter":{"exists":{"field":"audiolibro"}}},"pubyear_counter_print":{"terms":{"field":"print.publishingdate","size":500,"order":{"_key":"desc"}}},"pubyear_counter_ebook":{"terms":{"field":"ebook.publishingdate","size":500,"order":{"_key":"desc"}}},"pubyear_counter_pod":{"terms":{"field":"pod.publishingdate","size":500,"order":{"_key":"desc"}}},"country_counter_print":{"terms":{"field":"print.countryofpublication.keyword","size":500,"order":{"_key":"asc"}}},"country_counter_ebook":{"terms":{"field":"ebook.countryofpublication.keyword","size":500,"order":{"_key":"asc"}}},"country_counter_pod":{"terms":{"field":"pod.countryofpublication.keyword","size":500,"order":{"_key":"asc"}}},"language_counter_print":{"terms":{"field":"print.language.keyword","size":500,"order":{"_key":"asc"}}},"language_counter_ebook":{"terms":{"field":"ebook.language.keyword","size":500,"order":{"_key":"asc"}}},"language_counter_pod":{"terms":{"field":"pod.language.keyword","size":500,"order":{"_key":"asc"}}},"ejetematico_1":{"terms":{"field":"ejetematico_1","size":500,"order":{"_key":"asc"}}},"ejetematico_2":{"terms":{"field":"ejetematico_2","size":500,"order":{"_key":"asc"}}},"ejetematico_3":{"terms":{"field":"ejetematico_3","size":500,"order":{"_key":"asc"}}},"ejetematico_4":{"terms":{"field":"ejetematico_4","size":500,"order":{"_key":"asc"}}},"ejetematicoh_1":{"terms":{"field":"ejetematicoh_1","size":500,"order":{"_key":"asc"}}},"ejetematicoh_2":{"terms":{"field":"ejetematicoh_2","size":500,"order":{"_key":"asc"}}},"ejetematicoh_3":{"terms":{"field":"ejetematicoh_3","size":500,"order":{"_key":"asc"}}},"ejetematicoh_4":{"terms":{"field":"ejetematicoh_4","size":500,"order":{"_key":"asc"}}},"subject_custom_counter":{"terms":{"field":"subjectcustom.subjectcode.keyword","size":50,"order":{"_key":"asc"}}},"collections":{"terms":{"field":"print.collections.collectionname.keyword","size":50,"order":{"_key":"asc"}},"aggs":{"collections_ebook":{"terms":{"field":"ebook.collections.collectionname.keyword","size":50,"order":{"_key":"asc"}}},"collections_pod":{"terms":{"field":"pod.collections.collectionname.keyword","size":50,"order":{"_key":"asc"}}},"collections_audiolibro":{"terms":{"field":"audiolibro.collections.collectionname.keyword","size":50,"order":{"_key":"asc"}}}}},"collections_print":{"terms":{"field":"print.collections.collectionname.keyword","size":10,"order":{"_key":"asc"}}},"collections_ebook":{"terms":{"field":"ebook.collections.collectionname.keyword","size":10,"order":{"_key":"asc"}}},"collections_pod":{"terms":{"field":"pod.collections.collectionname.keyword","size":10,"order":{"_key":"asc"}}},"collections_audiolibro":{"terms":{"field":"audiolibro.collections.collectionname.keyword","size":10,"order":{"_key":"asc"}}},"dpa":{"terms":{"field":"hasdpa.keyword","size":120,"order":{"_key":"asc"}}},"inSale":{"filter":{"bool":{"must":[{"term":{"generalstatus":true}},{"exists":{"field":"prices"}},{"term":{"prices.sale":true}}],"should":[{"range":{"prices.prices.pod.USD_MXN":{"gt":0}}},{"range":{"prices.prices.ebook.USD":{"gt":0}}}],"minimum_should_match":1}}},"years":{"terms":{"script":{"source":"\n                        def years = [];\n                        if (doc['print.publishingdate'].size() > 0) {\n                            for (date in doc['print.publishingdate']) {\n                                years.add(date);\n                            }\n                        }\n                        if (doc['ebook.publishingdate'].size() > 0) {\n                            for (date in doc['ebook.publishingdate']) {\n                                years.add(date);\n                            }\n                        }\n                        if (doc['pod.publishingdate'].size() > 0) {\n                            for (date in doc['pod.publishingdate']) {\n                                years.add(date);\n                            }\n                        }\n                        \n                        return years;\n                    ","lang":"painless"},"size":100,"order":{"_key":"desc"},"missing":""}}}}"
^ {#7315
  +"total": 2
  +"max_score": null
  +"hits": array:2 [
    0 => {#7314
      +"_index": "simeh_catalogproducts_v2"
      +"_type": "metadata"
      +"_id": "ecbf39cc05c48884b1f7d533b1a083b7"
      +"_score": null
      +"_source": {#7313
        +"created_at": "2020-10-31 17:42:50"
        +"updated_at": "2024-09-16 20:26:33"
        +"url_path": "atributos-de-egreso-en-carreras-de-ingenieria-nrsmb"
        +"generalstatus": true
        +"ebook": {#7311
          +"identifier": {#7312
            +"isbn13": "9789977663760"
          }
          +"status": array:1 [
            0 => "04"
          ]
          +"editionnumber": array:1 [
            0 => "1"
          ]
          +"recordreference": array:1 [
            0 => "SIMEHEBOOKXMH1TBNMV2KN6D9EEQ2W"
          ]
          +"productform": array:1 [
            0 => "EB"
          ]
          +"productformdetail": array:1 [
            0 => "E107"
          ]
          +"language": array:1 [
            0 => "spa"
          ]
          +"publishingdate": array:1 [
            0 => "2016"
          ]
          +"countryofpublication": array:1 [
            0 => "CR"
          ]
          +"collection": array:1 [
            0 => {#7310
              +"title": null
            }
          ]
        }
        +"name": array:1 [
          0 => "Atributos de egreso en carreras de ingeniería"
        ]
        +"contributor": array:4 [
          0 => {#7309
            +"name": array:1 [
              0 => "Eva Cristina Meza Badilla"
            ]
            +"type": "A01"
          }
          1 => {#7308
            +"name": array:1 [
              0 => "José Fabián Aguilar Cordero"
            ]
            +"type": "A01"
          }
          2 => {#7307
            +"name": array:1 [
              0 => "Martha Isabel Quesada Sánchez"
            ]
            +"type": "A01"
          }
          3 => {#7306
            +"name": array:1 [
              0 => "William Delgado Montoya"
            ]
            +"type": "A01"
          }
        ]
        +"subjectbisac": array:1 [
          0 => {#7305
            +"schemeidentifier": 10
            +"mainsubject": true
            +"subjectcode": "EDU000000"
          }
        ]
        +"subjectthema": array:1 [
          0 => {#7304
            +"schemeidentifier": 93
            +"mainsubject": true
            +"subjectcode": "JNM"
          }
        ]
        +"subjectdewey": array:1 [
          0 => {#7303
            +"schemeidentifier": "01"
            +"mainsubject": true
            +"subjectcode": "370"
          }
        ]
        +"subjectkeywords": array:4 [
          0 => {#7302
            +"schemeidentifier": 20
            +"mainsubject": false
            +"subjectcode": "Educación superior"
          }
          1 => {#7301
            +"schemeidentifier": 20
            +"mainsubject": false
            +"subjectcode": "Rendimiento académico"
          }
          2 => {#7300
            +"schemeidentifier": 20
            +"mainsubject": false
            +"subjectcode": "Enseñanza y aprendizaje"
          }
          3 => {#7299
            +"schemeidentifier": 20
            +"mainsubject": false
            +"subjectcode": "Diseño curricular"
          }
        ]
        +"mainphoto": "7a665c7977e7b9df2eee119f350aa29f"
        +"openaccess": false
        +"haseulacambiental": false
        +"hascataloghumanrights": false
        +"hascataloghistory": false
        +"hascatalogenre": false
        +"featuredaltexto": false
        +"publishers": array:2 [
          0 => {#7298
            +"pubmain": true
            +"pubid": "8a831d50869bd4271f1b20a4a00a28d0"
            +"pubname": "Editorial Tecnológica de Costa Rica"
            +"pubcountry": "CR"
          }
          1 => {#7297
            +"pubmain": false
            +"pubid": "8a831d50869bd4271f1b20a4a00a28d0"
            +"pubname": "Editorial Tecnológica de Costa Rica"
            +"pubcountry": "CR"
          }
        ]
        +"price_simeh": {#7295
          +"ebook": {#7296
            +"USD": "4"
          }
        }
        +"prices": {#7294
          +"sale": false
          +"prices": {#7292
            +"pod": {#7293
              +"COP": 0
              +"USD": 0
              +"USD_CO": 0
              +"USD_AR": 0
              +"USD_CL": 0
              +"USD_MX": 0
              +"USD_ES": 0
            }
            +"ebook": {#7291
              +"COP": 0
              +"USD": 0
              +"MXN": 0
            }
          }
        }
      }
      +"sort": array:2 [
        0 => "2016"
        1 => 1604166170000
      ]
    }
    1 => {#7290
      +"_index": "simeh_catalogproducts_v2"
      +"_type": "metadata"
      +"_id": "ecbf39cc05c48884b1f7d533b1a5539d"
      +"_score": null
      +"_source": {#7289
        +"created_at": "2020-10-31 17:42:56"
        +"updated_at": "2024-09-16 20:26:25"
        +"url_path": "universidades-publicas-y-fundaciones-kq1sa"
        +"generalstatus": true
        +"ebook": {#7287
          +"identifier": {#7288
            +"isbn13": "9789977662992"
          }
          +"status": array:1 [
            0 => "04"
          ]
          +"editionnumber": array:1 [
            0 => "1"
          ]
          +"recordreference": array:1 [
            0 => "SIMEHEBOOKHLQ31UTHSTMYG316O19S"
          ]
          +"productform": array:1 [
            0 => "EB"
          ]
          +"productformdetail": array:1 [
            0 => "E101"
          ]
          +"language": array:1 [
            0 => "spa"
          ]
          +"publishingdate": array:1 [
            0 => "2012"
          ]
          +"countryofpublication": array:1 [
            0 => "CR"
          ]
          +"collection": array:1 [
            0 => {#7286
              +"title": null
            }
          ]
        }
        +"name": array:1 [
          0 => "Universidades públicas y fundaciones"
        ]
        +"contributor": array:1 [
          0 => {#7285
            +"name": array:1 [
              0 => "Martha Calderón Ferrey"
            ]
            +"type": "A01"
          }
        ]
        +"subjectbisac": array:1 [
          0 => {#7284
            +"schemeidentifier": 10
            +"mainsubject": true
            +"subjectcode": "EDU000000"
          }
        ]
        +"subjectthema": array:1 [
          0 => {#7283
            +"schemeidentifier": 93
            +"mainsubject": true
            +"subjectcode": "JNM"
          }
        ]
        +"subjectdewey": array:1 [
          0 => {#7282
            +"schemeidentifier": "01"
            +"mainsubject": true
            +"subjectcode": "370"
          }
        ]
        +"subjectkeywords": array:3 [
          0 => {#7281
            +"schemeidentifier": 20
            +"mainsubject": false
            +"subjectcode": "Educación superior"
          }
          1 => {#7280
            +"schemeidentifier": 20
            +"mainsubject": false
            +"subjectcode": "Universidades públicas"
          }
          2 => {#7279
            +"schemeidentifier": 20
            +"mainsubject": false
            +"subjectcode": "Costa Rica"
          }
        ]
        +"mainphoto": "7a665c7977e7b9df2eee119f3501c677"
        +"openaccess": false
        +"haseulacambiental": false
        +"hascataloghumanrights": false
        +"hascataloghistory": false
        +"hascatalogenre": false
        +"featuredaltexto": false
        +"publishers": array:2 [
          0 => {#7278
            +"pubmain": true
            +"pubid": "8a831d50869bd4271f1b20a4a00a28d0"
            +"pubname": "Editorial Tecnológica de Costa Rica"
            +"pubcountry": "CR"
          }
          1 => {#7277
            +"pubmain": false
            +"pubid": "8a831d50869bd4271f1b20a4a00a28d0"
            +"pubname": "Editorial Tecnológica de Costa Rica"
            +"pubcountry": "CR"
          }
        ]
        +"price_simeh": {#7275
          +"ebook": {#7276
            +"USD": "5"
          }
        }
        +"prices": {#7274
          +"sale": true
          +"prices": {#7272
            +"pod": {#7273
              +"COP": 0
              +"USD": 0
              +"USD_CO": 0
              +"USD_AR": 0
              +"USD_CL": 0
              +"USD_MX": 0
              +"USD_ES": 0
            }
            +"ebook": {#7271
              +"COP": 0
              +"USD": 5.99
              +"MXN": 0
            }
          }
        }
      }
      +"sort": array:2 [
        0 => "2012"
        1 => 1604166176000
      ]
    }
  ]
}