wiki:WEB_SEARCH_R0

Version 5 (modified by milen, 15 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=WEB_SEARCH_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

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)

Advanced search has the following features:

  • a combobox for selecting a type of resource (by default anyone)
  • a field for writing an owner of a resource (by default anyone)
  • a checkbox for arranging by date (by default unchecked)

Task result

(List the end product of the task (for example "Source code", "Wiki page", etc.))

Implementation idea

(Provide some rough implementation idea(s).)

(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.)