sandboxnu / searchneu-old

Search over Classes, Professors and Employees at NEU!
https://searchneu.com
GNU Affero General Public License v3.0
15 stars 4 forks source link

Only employees being returned from search #75

Closed nkaffine closed 5 years ago

nkaffine commented 5 years ago

Was working fine 10/29 but 10/30 searches started to return just employees that matched the search term. Example:

request url: https://searchneu.com/search?query=fund&termId=202030&minIndex=0&maxIndex=5&apiVersion=2
response:
{
  "results": [
    {
      "employee": {
        "name": "Rundong Li",
        "firstName": "Rundong",
        "lastName": "Li",
        "url": "https://www.khoury.northeastern.edu/people/rundong-li/",
        "primaryRole": "PhD Student",
        "emails": [
          "rundong@ccs.neu.edu"
        ],
        "officeRoom": "472 West Village H",
        "officeStreetAddress": "440 Huntington Avenue",
        "bigPictureUrl": "https://www.khoury.northeastern.edu/wp-content/uploads/2016/03/Rundong-Li-hero-image.jpg",
        "id": "ee3e33bd970d129d154e9fe434f3b8d2190895d8"
      },
      "type": "employee",
      "score": 12.785643
    },
    {
      "employee": {
        "name": "JOYDIP Kundu",
        "firstName": "JOYDIP",
        "lastName": "Kundu",
        "id": "Uf%2FXr6ZTCR1vhuefsIa%2FiA%3D%3D",
        "phone": "6173732989",
        "emails": [
          "j.kundu@northeastern.edu"
        ],
        "primaryRole": "Associate Research Scientist",
        "primaryDepartment": "Chemical Engineering"
      },
      "type": "employee",
      "score": 11.723977
    },
    {
      "employee": {
        "name": "Joshua Bundt",
        "firstName": "Joshua",
        "lastName": "Bundt",
        "url": "https://www.khoury.northeastern.edu/people/joshua-bundt/",
        "primaryRole": "PhD Student",
        "emails": [
          "bundt.j@husky.neu.edu"
        ],
        "officeRoom": "Interdisciplinary Science and Engineering Complex (ISEC)",
        "officeStreetAddress": "805 Columbus Avenue",
        "bigPictureUrl": "https://www.khoury.northeastern.edu/wp-content/uploads/2018/08/linderpix-NEU-3570-hero.jpg",
        "id": "20d97442da0392171d0bf6d9e7e98380a79c600c"
      },
      "type": "employee",
      "score": 11.723977
    },
    {
      "employee": {
        "name": "Pratap Sundar",
        "firstName": "Pratap",
        "lastName": "Sundar",
        "id": "KFNagJh2%2Ff4oSYF1ac8TUQ%3D%3D",
        "phone": "6173733070",
        "emails": [
          "p.sundar@northeastern.edu"
        ],
        "primaryRole": "Visiting Professor",
        "primaryDepartment": "Mechanical + Industrial Engineering"
      },
      "type": "employee",
      "score": 11.256626
    },
    {
      "employee": {
        "name": "Ravi Sundaram",
        "firstName": "Ravi",
        "lastName": "Sundaram",
        "id": "GFFKAX05dDPkEEGPFsuMTA%3D%3D",
        "phone": "6173735876",
        "emails": [
          "r.sundaram@northeastern.edu",
          "koods@ccs.neu.edu"
        ],
        "primaryRole": "Professor",
        "primaryDepartment": "Khoury",
        "url": "https://www.khoury.northeastern.edu/people/ravi-sundaram/",
        "officeRoom": "242 West Village H",
        "officeStreetAddress": "440 Huntington Avenue",
        "personalSite": "http://www.ccs.neu.edu/home/koods/",
        "googleScholarId": "WEQF9DgAAAAJ",
        "bigPictureUrl": "https://www.khoury.northeastern.edu/wp-content/uploads/2016/03/Ravi-Sundaram-hero-image.jpg"
      },
      "type": "employee",
      "score": 11.256626
    }
  ]
}
dajinchu commented 5 years ago

should be back up now

nkaffine commented 5 years ago

Yep, worked once I cleared the cache. Thanks!

dajinchu commented 5 years ago

np! Spring 2020 has been giving us a lot of trouble :)