{% extends "base.html" %} {% load static from staticfiles %} {% block content %} {% if rowcount %} New search (reset query) {% if error_messages %}

Errors

{% endif %}

Search-List results

Searched for {{ rowcount }} entries with the following search strategies:

Phrase found

Exact match of the whole phrase

{% if results %}

All words found exact in this order and without other words in between

Results for {{ found }} entries of {{ rowcount }} searched entries

{% for result, values in results.items %} {% endfor %}
QueryResults
{{ result }} {{ values.count }}
{% else %}

No results

{% endif %}

Phrase found with some words in between

All words found in document in exactly this order but some (max 10) words in between

{% if results_near %}

Results for {{ found_near }} entries of {{ rowcount }} searched entries

{% for result, values in results_near.items %} {% endfor %}
QueryResultsBest score
{{ result }} {{ values.count }} {{ values.maxscore }}
{% else %}

No results

{% endif %}

All words found

Maybe matching (all words found in document but not the phrase in exactly this order)

{% if results_and %}

Results for {{ found_and }} entries of {{ rowcount }} searched entries

{% for result, values in results_and.items %} {% endfor %}
QueryResultsBest score
{{ result }} {{ values.count }} {{ values.maxscore }}
{% else %}

No results

{% endif %}

Similar words found for all words

{% if results_similar_and %}

Similar words all found in document. Sort for descending score to see the most similar first.

Results for {{ found_similar_and }} entries of {{ rowcount }} searched entries

{% for result, values in results_similar_and.items %} {% endfor %}
QueryResultsBest score
{{ result }} {{ values.count }} {{ values.maxscore }}
{% else %}

No results

{% endif %}

Only some words found

{% if results_or %}

Some words found in document. Sort for descending score to see the most similar first.

Results for {{ found_or }} entries of {{ rowcount }} searched entries

{% for result, values in results_or.items %} {% endfor %}
QueryResultsBest score
{{ result }} {{ values.count }} {{ values.maxscore }}
{% else %}

No results

{% endif %}

Some similar words found

{% if results_similar_or %}

Some words found in document, some of them only similar. Sort for descending score to see the most similar first.

Results for {{ found_similar_or }} entries of {{ rowcount }} searched entries

{% for result, values in results_similar_or.items %} {% endfor %}
QueryResultsBest score
{{ result }} {{ values.count }} {{ values.maxscore }}
{% else %}

No results

{% endif %}
{% endif %}

Search with a list

Check for each entry if there are search results

{% csrf_token %}
{{ form.list }} {{ form.list.errors }}

Fuzzy search

Each list entry / line will be searched with following search strategies:

{{ form.do_find_phrase }}
{{ form.do_find_near }}
{{ form.do_find_and }}
{{ form.do_find_or }}
{{ form.do_find_similar_and }}
{{ form.do_find_similar_or }}

Searching with fuzzy search will take more time, but will find similar results, too - which often are exactly what you search for but it can not be found by exact matching i.e. because of typos or if a part of a company name like the suffix Ltd. is missing in some documents but is part of your search query. Or you want to find documents even if some chars were recognized wrong while automatic textrecognition (OCR) of scans.

There will be a result list for each type of the activated searches

Each additional search type will exclude all results from (better matching but not finding all) activated types/queries before.

Mouse over to see the used search operators for the list entry example open source.

Filter query

{{ form.filterquery.errors }} {{ form.filterquery }}

Results have to match this additional query part, too. So its not enough to match only the search entry of the list.

I.e. for filtering with additional criterias like a path, person or project name. Or to search only in some documents or data.

Ignore words

{{ form.stopwords.errors }} {{ form.stopwords }}

I.e. name parts like "Ltd." because not so important for matching but not contained in every searched document, which in this case would not match.

{% endblock content %}