my search function is not working. Help me out

/*My search method isn't working. You have to type the exact name the search is looking for in order 
for it to work else, It goes false*/ function find(){
            let inputField = document.getElementById("search"); 
            let value = inputField.value; 
       let getDeriva = value.search("Deriva")
       if(getDeriva == 0){
           
       }else{
           let getRagno = value.search(" Ragno ")
           if(getRagno == 0){
               document.getElementById("matches").innerHTML = "4 Matches found";
               document.getElementById("demoTwo").innerHTML = "1. Ragno seat skeleton 20¢ No.1";
               document.getElementById("demoThree").innerHTML = "2. Ragno seat trim pcs 50¢ No.3";
               document.getElementById("demoFour").innerHTML = "3. Ragno headrest top skeleton and connection bar 5¢ No.58";
               document.getElementById("demoFive").innerHTML = "4. Ragno luxury sport trim whole seat and Spyder headrest 80¢ No.101";
           }else{
              let getAkalotos = value.search("Akalotos")
              if(getAkalotos == 0){
                  
              }else{
                  let getVentoor = value.search("Ventoor")
                  if(getVentoor==0){
                      
                  }else{
                      let getBentaar = value.search("Bentaar")
                      if(getBentaar == 0){
                          
                      }else{
                          document.getElementById("matches").innerHTML = "Nothing Found";
                      }
                  }
              }
           }
       }
    }

/*I was expecting that I could type in Fillis Ragno and javascript would search Ragno for me. But it did not work and showed No Matches found*/


so basicaly I wanted to let the people know what they wanted so I used the search method
however when I made it go in It didn’t count as my search and all it did was false it up.
SO somehow instead of 0(when the value is found) it still showed -1(when the value isn’t found)