Version 4 (modified by milen, 15 years ago) (diff) |
---|
Analysis
(Give as much as possible of the needed information for designing and implementing the task in the following sections.)
Overview
There are two types of web searches: quick and advances.
Task requirements
The following rules occur for the search results.
- The search result of the result list consist of three parts:
- name of the resource
- part of the information for the resource
- name of the owner plus the date and the time of the last change
- the written query
- if the query is one word
- the result can contain the query as an entire word or as a part of existing word
- the arrangement of the results depends on:
- 1. Occurrence of the query in the name of the resource
- 2. Occurrence of the query in the information for the resource (as many times, as earlier position in the list of the results)
- 3. Partly occurrence of the query in a word of the name of the resource
- 4. Partly occurrence of the query in a word of the information for the resource (as many times, as earlier position in the list of the results)
- if the query is more than one word
- for the result, occurrence of one of them is enough
- the arrangement of the results depends on:
- 1. Occurrence of words in the query in the same order and one after another in the name of the resource
- 2. Occurrence of words in the query in the same order and one after another in the information of the resource
- 3. Occurrence of words of the query in the name of the resource
- 4. Occurrence of the words of the query in the information for the resource (as many times, as earlier position in the list of the results)
- 5. Partly occurrence of the words of the query in words of the name of the resource
- 6. Partly occurrence of the words of the query in words of the information for the resource (as many times, as earlier position in the list of the results)
- if the query is one word
Advanced search has the following features:
- a combobox for selecting a type of resource
- a field for writing an owner of a resource
- a checkbox for arranging by date
Task result
(List the end product of the task (for example "Source code", "Wiki page", etc.))
Implementation idea
(Provide some rough implementation idea(s).)
Related
(Add links to related tasks that could be useful or helpful.)
How to demo
(Provide instructions for demonstration of the task.)
Design
(Describe your design here.)
Implementation
(Describe and link the implementation results here (from the wiki or the repository).)
Testing
(Place the testing results here.)
Comments
(Write comments for this or later revisions here.)