简短的solr长字符串,而排序

发布于 2025-02-13 05:04:53 字数 619 浏览 1 评论 0原文

目前,我有以下排序问题。 我有一个产品列表,我想按标题为ASC进行排序。

列表:

  • 产品ZLA
  • 产品BLA
  • 产品
  • 产品CLA

我的查询是Solr仪表板中的以下内容。

fq

> sort

  • sorttitle asc

我使用的是torttitle而不是标题,因为标题在solr本身中被标记化。

我希望

  • 产品
  • BLA
  • 产品CLA
  • 产品ZLA

我获得

  • 产品BLA
  • 产品CLA
  • 产品ZLA
  • 产品

不应首先“产品”?

At the moment i have the following sort issue.
I have a list of products which i want to sort by title asc.

The list:

  • Product zla
  • Product bla
  • Product
  • Product cla

My query is the following in solr dashboard.

FQ

Sort

  • sortTitle asc

I am using sortTitle instead of title, since title is tokenized in solr itself.

I expect

  • Product
  • Product bla
  • Product cla
  • Product zla

I get

  • Product bla
  • Product cla
  • Product zla
  • Product

Shouldn't "Product" be in the first place?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文