Search on website either for full words or a parts of words

<p>On an website which offers pictures exists the problem that there are pictures tagged with short words which are are also a part of other words which have nothing in common with the original word, e.g. "Ei" - "Eimer" or "Affe" - "Giraffe" and other words where the words have a relation, e.g. "Ei" - "Osterei" or "Bahn" - "Eisenbahn".</p><p>&nbsp;The user shall have the possibilty to enter a word (or a various words) for which he wants to find pictures related with this word. Obviously he shall find the pictures he is looking for and not different ones. In case of doubt he shall find more pictures than less but not an extreme amount of pictures which have nothing to do with the word he entered. In this case the search would be useless.</p><p>&nbsp;In addition the systems does not only search in the tags, it also searches in the descriptions and titles of the pictures.</p><p>PS: Ei means egg. Eimer means bucket. Osterei means easter egg. Affe means monkey. Giraffe means giraffe. Bahn means train. Eisenbahn means train, too.</p>
1 answer

Add a sharp and a unshap search mode

There are different possibilities to increase the efficiency of the search. I decided to let the user choose how he likes to search. Therefore he has the possibility to choose one out of two search modes. The 'sharp' search finds only the exact word, e.g. "Ei" finds "Ei" but not "Osterei". The 'unsharp' search finds also results there the search word is a part of a longer word, e.g. "Ei" finds "Ei" and "Osterei". The costs of the implementation of this solution were lower than the costs of other solutions. In addition it is very powerful and easily to use because the user can decide best how he likes to search in order to find the required pictures. If he realizes he finds too much or too less pictures he simply changes the search mode.