Search button
   HOME

TheInfoList



OR:

A search box, search field or search bar is a
graphical control element A graphical widget (also graphical control element or control) in a graphical user interface is an element of interaction, such as a button or a scroll bar. Controls are software components that a computer user interacts with through direct ...
used in computer programs, such as file managers or web browsers, and on web sites. A search box is usually a single-line text box or search icon (which will transform into a search box on click activity) with the dedicated function of accepting user input to be searched for in a database. Search boxes on web pages are usually used to allow users to enter a query to be submitted to a Web search engine server-side script, where an
index Index (or its plural form indices) may refer to: Arts, entertainment, and media Fictional entities * Index (''A Certain Magical Index''), a character in the light novel series ''A Certain Magical Index'' * The Index, an item on a Halo megastru ...
database is queried for entries that contain one or more of the user's keyword research. Search boxes are commonly accompanied by a search button (sometimes indicated only by a magnifying glass symbol) to submit the search. However, the search button may be omitted as the user may press the enter key to submit the search, or the search may be sent automatically to present the user with real-time results. The search box is an integral part of the site search functionality, which is an important element of website design for content-rich websites. On some websites, site search is more prominent than on others. E-commerce typically use search boxes, and thus site search, as a primary navigation tool.


Common features

Depending on the particular implementation, a search box may be accompanied by a drop-down list to present the users with past searches or
search suggestions A search suggest drop-down list is a query feature used in computing to show the searcher shortcuts, while the query is typed into a text box. Before the query is complete, a drop-down list with the suggested completions appears to provide op ...
. Search boxes may have other features to help the user, such as autocomplete, search suggestions, a
spelling checker In software, a spell checker (or spelling checker or spell check) is a software feature that checks for misspellings in a text. Spell-checking features are often embedded in software or services, such as a word processor, email client, electronic d ...
, etc. Search boxes are often also accompanied by drop-down menus or other input controls to allow the user to restrict the search or choose what type of content to search for. In some cases, while users input search strings, the results of that string would also present on the content area updating in real-time. However, if the page choose this way to show results to users, the loading time is slower and may cause unresponsive lagging or browser crash. Hence, it is not recommend for small and medium size websites. Modern search box implementations make use of persistent connections to achieve both low-latency search experience and bandwidth improvement. However, for large, search-intensive web applications, a scalable server being able to handle a high number of concurrent persistent connections is needed. Such servers already exist. For example, a single instance of the WebSocket server provided by MigratoryDataMigratoryData website
/ref> could handle 240,000 autocomplete requests per second from 1 million concurrent users with a mean round-trip latency of 11.82
millisecond A millisecond (from '' milli-'' and second; symbol: ms) is a unit of time in the International System of Units (SI) equal to one thousandth (0.001 or 10−3 or 1/1000) of a second and to 1000 microseconds. A unit of 10 milliseconds may be called ...
s.


See also

*
Search suggest drop-down list A search suggest drop-down list is a query feature used in computing to show the searcher shortcuts, while the query is typed into a text box. Before the query is complete, a drop-down list with the suggested completions appears to provide optio ...
* Web navigation


References

Graphical control elements {{GUI-stub