Search algorithms

This algorithm searches for a match on all search terms in the query on the selected search properties. When you search for red shoe, then only red shoes will show, and no black shoes or red pants. You select the search properties in the algorithm using a dropdown. The algorithm also takes conjugations into account.

Search algorithm weighting allows you to adjust the importance of certain search algorithms by assigning them a weight. These weights range from 0 to 1, with a higher weight indicating that a search algorithm has more influence on the final ranking of search results.
In addition, you can set for each algorithm whether, after finding results in a particular search algorithm, it is allowed to continue searching in the next algorithm or whether it stops and immediately displays the products found. More information about that has been described on Search algorithm weighting .

Search properties

The algorithm lets you choose various properties using the dropdown; these are search properties. Search properties are the properties of a product that are allowed to be searched through. You see, Tweakwise doesn't search through all properties by default. The selection of search properties depends on the kind of shop. For example, product namebrandcategoryproduct typecolormaterial, et cetera. Consult the list of most popular search terms to determine which search properties you should use.

The search result first displays all the products with search result in the search properties where a heavier weighting is given. It then displays the products with search result in the search properties with a lower weighting.

Full Text Rank

When this box is checked, the sorting of products happens using Full Text Rank instead of the selected sorting option. Full Text Rank is an algorithm that calculates a score for each matching product based on relevance. This can be the amount of times that a search term appears in the searched text, or how many conjugations took place before finding a product. When you search for bike, a product whose description contains the word bike will get a higher score than a product that contains the word bikes.

Conjugations

The Fuzzy search algorithm considers conjugations. These are conjugations:

  • Plurals (bike - bikes)
  • Verb conjugations (bikes - biked - biked)
  • Splits (raincoat: rain - coat)
    It will also consider conjugations of the result of this split (rain - rains - rained)

Conjugations are determines based on Microsoft Full Text Forms or Inflectional. They are dependent on the used language (tn_lang). Conjugations only work for existing words. If the query contains symbols other than letters, it will not be conjugated.

Remove a punctuation mark from the search query

By default, punctuation marks are not ignored. This means that a search term containing a punctuation mark, such as a space, slash (/), hyphen (-), comma, or period, will not result in a match.
By removing a punctuation mark, you allow it to be ignored, improving the matching of search terms and values.

For example, a search for 'photo-album' will also find 'photoalbum'. With this setting enabled, both search methods will yield results.

Words that start with the search query

Tweakwise won't search for parts of words that can't be separated, for example: When you search for pap, you won't find paprika. This will happen when you check this box.

Note: This function will only work when the seach query contains three or more characters.

Synonyms

The Fuzzy search algorithm considers these conditions regarding set synonyms:

  • Synonyms only work on the product name
  • Synonyms don't work in combination with other terms in the query

Why does 'Word search' appear in my search algorithm twice?


Has reading the relevant articles not helped you?