Problem/Motivation

Getting incorrect result set particularly when searching for users with small name like 'Jim' or 'Tim'. The result consists of nodes that has little relevance to original keyword.

Proposed resolution

If the length of keyword is 3 use fuzziness of value 2 instead of auto.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

saurabhpandit26 created an issue. See original summary.

saurabhpandit26’s picture

StatusFileSize
new1.13 KB
bendale’s picture

StatusFileSize
new1.13 KB

I got better and more relevant results with fuzziness value 1. Attached is the patch with this small change.

mparker17’s picture

Status: Active » Needs review

There's a patch here, so I'm going to move this to "Needs review"

mparker17’s picture

Version: 8.x-7.0-alpha3 » 8.x-7.x-dev
Component: Elasticsearch Connector » Code

I just released elasticsearch_connector-8.x-7.0-alpha6, which had some changes that could break older patches, so I've been proactively fixing merge conflicts, hopefully saving people time when they need to upgrade.

I created merge request !148 from the patch in #3. If you need an updated patch file, you can download one from the merge request.

Thanks!