Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

132
Views
Fusejs no funciona correctamente para las ubicaciones

Quiero buscar datos, Fusejs devuelve el resultado incorrecto. Supongamos que tengo una ubicación como (Sector-10, Sector-10/1, Sector-10/2, Sector-8) cuando escribo " Sector8 " me devuelve resultados como ( {Sector-10, Sector-10/1 .. ...} ). Quiero un resultado como si escribo " Sector8 ", debería devolver "`Sector8" al principio. ¿Podría alguien ayudarme, por favor?

Datos

 [ {label:'Sector-10',value:238}, {label: 'Sector-10/1', value: 1781}, {label: 'Sector-10/2', value: 141}, {label: 'Sector-11/4', value: 1780}, {label:'Sector-8',value:8834} ]

Código

 const options = { caseSensitive: false , useExtendedSearch: false, threshold: 0.9, keys: [ "label", ] }; const fuse = new Fuse(list, options); // Change the pattern const pattern = "sector8" return fuse.search(pattern)
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!