Search is not working, not returning results

Aperta
#60 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
22/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
java, search
Ambito
search

Direzione di ricerca

The payload shows only the filter strings, not the client code. Start by reproducing with the Java client's filter_by value for the category 'Sports Shoes,Clothing&Accessories' and compare it with the working 'Consumer Electronics' filter. The comma and ampersand in the value are the likely cause, so check how the filter string is built and escaped. Done means the category returns its 9984 items and a test covers the value.

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

Descrizione

Description

I have 3 levels of categories for search, it works fine for all the categories but for a specific category its not returning result at all.
If I pass

lvl0:=['Consumer Electronics']

then its returning results where we have 118818 items in this category while for below filter its returning zero

lvl0:=['Sports Shoes,Clothing&Accessories']

Although this category has 9984 items.

Steps to reproduce

Working fine for this filter

lvl0:=['Consumer Electronics']

while facing problem when pass this

lvl0:=['Sports Shoes,Clothing&Accessories']

Expected Behavior

It should return its items instead of zero items.

Actual Behavior

Returning zero items

Metadata

Typesense Version: 0.8.1

OS: Redmi 9C (Android 10)

Lingua principale
Java
Stelle
90
Fork
39
Merge medio
22h 26m
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di typesense/typesense-java

Tutte le issue di typesense/typesense-java

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.