Search is not working, not returning results

Offen
#60 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
22/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
java, search
Bereich
search

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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)

Vorherrschende Sprache
Java
Sterne
90
Forks
39
Ø Merge
22 Std. 26 Min.
Gemergte PRs (30 T.)
1

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus typesense/typesense-java

Alle Issues in typesense/typesense-java

Ähnliche Issues

Weitere Issues zu Java

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.