Search is not working, not returning results

未關閉
#60 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
22/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
java, search
領域
search

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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)

主要語言
Java
星號
90
分支
39
平均合併
22 小時 26 分鐘
30 天內合併 PR
1

環境準備

  • 提供 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

typesense/typesense-java 的其他 Issue

查看 typesense/typesense-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。