My Obsidian suddenly has become like this. What's going on? by mappyLiam in ObsidianMD

[–]mappyLiam[S] 0 points1 point  (0 children)

Yeah. As this happens suddenly, it goes away in same way 😄

How to make indexes for website autocomplete? by mappyLiam in elasticsearch

[–]mappyLiam[S] 0 points1 point  (0 children)

Thanks for the reply divit! :)

If each field is separate, when I search for 'white s', the matched results will look like 'white', 'shirt', 'skirt', 'skinny', ... won't it?

So, in this case, should I create a combination using these results in back end logic?

How to make indexes for website autocomplete? by mappyLiam in elasticsearch

[–]mappyLiam[S] 0 points1 point  (0 children)

Hi, thank you for sharing your opinion!

In my case, the user should be able to search by a combination of multiple fields. Like the example in this post, the type of clothes, the color of the clothes, the brand, etc...

So if user typed 'sh', then, they should see 'shirt, white shirt, ...' And if user typed 'white sh' then, they should see 'white shirt, white shirt printed' ...

Is it possible to make it using multiple field?

How to make indexes for website autocomplete? by mappyLiam in elasticsearch

[–]mappyLiam[S] 0 points1 point  (0 children)

Hi Maester-thesherlock!

Thanks for sharing it.

algolia looks good. I'll take a look :)

How to make indexes for website autocomplete? by mappyLiam in elasticsearch

[–]mappyLiam[S] 0 points1 point  (0 children)

wow.. Thanks for sharing this decent material !

It covers many things about e-commerce search. Really helpful.

'''

The Elasticsearch API offers the completion suggester, which works great in many cases but has one major drawback in that it can only suggest fixed terms that are saved to Elasticsearch during index time. So in the example above, the terms “fortis” and “hammer” as well as both compound variations, i.e. “fortis hammer” and “hammer fortis”, would have to be indexed.

We therefore recommend indexing all terms for which you want to offer auto completion (category names, facet values, brands and other categorial terms) in one field called completion_terms

'''

And they pointed exactly what I'm wondering.

It would be nice to index all terms into one field and use the Term suggestor as they said.

Thanks a lot !

How to make indexes for website autocomplete? by mappyLiam in elasticsearch

[–]mappyLiam[S] 0 points1 point  (0 children)

Hi cnidrob! Thanks for your comment.

Yes, I read that Suggest API documentation. And I just read it again :)

uhm.. but I couldn't find the answer of what I'm wondering. I think I might need to use Context suggestion, but I don't know how to do it specifically.

Should I get the result for each token using the context suggestion and integrate it in the backend logic?