[[BackLinksMenu]] [[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|)]] = 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) * Every found occurrence of the query in the result set is highlighted. [[BR]] 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, descending (by default unchecked) After a search result set is available a button for searching in the results is available, located next to search one. == Task result == Source code == Implementation idea == * Quick search is available for every opened page and locates over the main menu. * Advances search can be opened by a "Search" button, located in the main menu. == Related == S2S_WEB_SEARCH_R0 [[BR]] S2S_WEB_RESOURCE_MANIPULATION_R4 == 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.)