madguy02 / Document-Search-Engine

A basic search engine based on Elastic Search for document search
0 stars 0 forks source link

Wrong spelling does not give search results #1

Open madguy02 opened 5 years ago

madguy02 commented 5 years ago

With the search query written, it only matches words now. Query can be improved

madguy02 commented 5 years ago

Solution: The query is improved and searches are optimized a bit now, It can search wrong spellings as well and can give probable outcomes for it. This requires fuzziness to be involved in the query, can set the fuzziness from 0 ,1, or 2 but its actually preferrable to keep it as "AUTO" .

Also, as the recommended version for elastic search for this search engine is 7.1.0. so the filtered query has been deprecated as well, so instead in order to impact the scoring we have used bool, must and should