P
P
Pavel2017-09-03 22:24:00
Web development
Pavel, 2017-09-03 22:24:00

Let's say I want to make my own application \ service, how difficult is it to implement a sane search?

I want to make my own bicycle, an application for storing notes, everything seems to be nothing, but how to implement a sane search, it’s clear that evernote and all sorts of one note and Google can’t be outdone, but so that there is an illegible search, it’s not like without it.
PS no matter what technology, so far only ideas

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
TyzhSysAdmin, 2017-09-03
@POS_troi

Read
www.sai.msu.su/~megera/postgres/talks/fts_pgsql_in...
https://postgrespro.ru/docs/postgresql/9.6/pgtrgm

E
Ernest Fayzullin, 2017-09-03
@ernesto77

inaccurate search (for example with typos) can be implemented using the Levenshtein function php.net/manual/ru/function.levenshtein.php
but this will only work in about 80% of cases, depending on how you configure the parameters. And to make a smarter search, you probably need to use neural networks.
If there is no time to dive into this, then there are ready-made solutions (Algolia, Sphinx, Scout, Lucene) and similar services

X
xmoonlight, 2017-09-22
@xmoonlight

stumper.ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question