{% extends "base.html" %} {% load static %} {% load i18n %} {% block title %}{% trans "Search Settings" %}{% endblock %} {% block content %}
{% blocktrans %} Full text searches attempt to normalize the words provided to match common variants. For example: 'forked', 'forking', 'forks' will all normalize to 'fork'. There are several methods available, described below, that will control how the search behavior should react when multiple words are searched. Full technical details on how these operate can be viewed on Postgresql's website. {% endblocktrans %}
{% blocktrans %} Simple searches ignore punctuation and common words such as 'the', 'a', 'and'. And will treat seperate words as required. Searching for 'apple or flour' will return any recipe that includes both 'apple' and 'flour' anywhere in the fields that have been selected for a full text search. {% endblocktrans %}
{% blocktrans %} Phrase searches ignore punctuation, but will search for all of the words in the exact order provided. Searching for 'apple or flour' will only return a recipe that includes the exact phrase 'apple or flour' in any of the fields that have been selected for a full text search. {% endblocktrans %}
{% blocktrans %} Web searches simulate functionality found on many web search sites supporting special syntax. Placing quotes around several words will convert those words into a phrase. 'or' is recongized as searching for the word (or phrase) immediately before 'or' OR the word (or phrase) directly after. '-' is recognized as searching for recipes that do not include the word (or phrase) that comes immediately after. For example searching for 'apple pie' or cherry -butter will return any recipe that includes the phrase 'apple pie' or the word 'cherry' in any field included in the full text search but exclude any recipe that has the word 'butter' in any field included. {% endblocktrans %}
{% blocktrans %} Raw search is similar to Web except will take puncuation operators such as '|', '&' and '()' {% endblocktrans %}