Several problems with Search plugin

I decided to create a separate topic about search plugin. Here what I have:
Server:
Openfire 4.6.1
Database: PostgreSQL 13
OS: CentOS 8
Search plugin: 1.7.3

Client: Spark 2.5.6. - 2.9.4

PROBLEM 1: empty fields in search result
Снимок экрана 2021-02-16 в 12.36.05

Here we get empty Name, Username and E-mail. All these fields are filled!

Also it Doesn’t matter of Cyrillic or Latin symbols - result is always the same.

PROBLEM 2: Case sensitive search
I’ve heard that it is not a bug, but a feature, BUT it made mass dissatisfaction of about 700 users. Why don’t add an option to switch Case sensitivness ON/OFF??

PS: I tried latest 1.7.4. snapshot from 28 JAN 2021. No changes.

Why?

Вы используете кириллицу в имени пользователя?
Вы можете создать пользователя test с именем test и попробовать его найти через поиск
Так же посмотрите вот на эти параметры и приложите сюда свой скриншот

Так же приложите свой скриношот какие параметры у вас тут выбраны

Да, как я уже писал ранее, неважно, какой используется алфавит:

А у вас вот такой параметр ldap.searchFields ?
Если да то скопируйте его значение куда нибудь, удалите сам параметр и перезагрузите службу Openfire.

Я вспомнил что у меня была похожая проблема и она решилась только после удаления этого параметра, его по ошибке кто то заполнил.

Отсутствует вообще

кстати на моём тестовом сервере тоже не работает нормально поиск и этого параметра вообще нету.

Но у меня там имя сервера .LOCAL, но на нём установлен сертификат .RU

image
image
А у вас везде одна имя используется?

Кстати @wroot сделал тикет в Jira и у меня почему то нормально ищется и даже с учётом регистра, посмотрите его

https://igniterealtime.atlassian.net/browse/SPARK-2106

https://yadi.sk/i/3U2mnjtcUTw9vA
https://yadi.sk/i/DwM4BfdSmYz81Q

У меня локальное доменное имя и ip-адрес

Такая же проблема c поиском! Кто нибудь смог её решить ? Версия openfire 4.7. Spark 2.7.4-3.0

There is an open issue in github which describes the problem of empty fields…

depending of the clients implementation while parsing the result xml from the server the wrong order of result fields and reported fields could end in an empty list of fields…

This bug only occurs if Openfire is set to Russian/Brazilian.
My PR: The search doesn't find anything if use a non-English localization by Plyha · Pull Request #18 · igniterealtime/openfire-search-plugin · GitHub
I can suggest 2 options:

  1. Set Openfire to English.
  2. Either download this plugin to your Openfire (it contains my fix)
    search.jar (70.4 КБ)

@guus @akrherz @wroot
I see a lot of admins who use Brazil/Russia localization are experiencing this bug, I think I should push my PR and release a new version as soon as possible(I dont have access to this repository).

Yesterday I installed the latest release of Openfire 4.8.0 and installed Spark 3.0.2.
I use LDAP/AD
Searching for users returns only JID values.
But there is one BUT…
If you run a search in the SPARK client and receive incomplete information in the search window
but then, without closing the search window, open the server and search service management and disable the search for the required fields like Username, name, email
And then repeat the search in the SPARK client, in the same window that is not closed, then the search works correctly)
I can’t figure out what is causing this problem.

Можно с тобой как нибудь связаться, вне форума? Естественно в удобное для тебя время.
Что бы попробовать решить проблему поиска, т.к. ответа, про странно работающий поиск, я так и не нашел.