appbaseio / appbaseio/reactivesearch

What is the best way to track the values being searched

Aperta
#400 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement web :spider_web:
Lingua principale
JavaScript
Stelle
4.9k
Fork
478
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi ,
I am currently using Datasearch component to search . I would like to track the values being used for the search . My using the debounce value as 1000 . I want to get the value being searched . i.e the value that is being exactly searched with elastic search (sent via ajax to the elastic server).

At this moment , am using onValuechange - but this method is giving data on each key stroke . (example : g , go , goo, goog , googl, google ). Am interested only with the "google" value as this is the value being sent to elastic search .

Note : I am not using auto suggestion and hence onValueSelected wont work .

Let me know the best way to handle this scenario .

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia tracciando il componente Datasearch e la gestione di onValuechange e debounce, quindi esamina come vengono inviate le richieste a Elasticsearch. Determina se il componente debba esporre separatamente il valore di ricerca debounced rispetto a ogni pressione di tasto e definisci il completamento sulla base di un modo documentato e testato per osservare il valore effettivamente inviato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
elasticsearch, javascript
Ambito
frontend, search
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.