Sort property into document with levenshtein?


(THOMAS) #1

Hi everyone,

I really need help with elastic, i have for example a document like this :

{
    name: "Web developer"
    tags: {
        "Web developer",
        "IT Technician",
        "Data processing",
        "Website",
        "IT",
        "..."
    }
}

I would like to find the right object with a query like this : "it technician"
So, i want to search into the name, but also the tags AND sort tags by relevance to have something like this :

tags: {
    "IT Technician",
    "IT",
    "Web developer",
    "Data processing",
    "Website"
} 

Is there any solution to do that ?

Thanks a lot


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.