What makes a good site search?
Make sure your site search is tolerant of typos and uses textual relevance so users get results no matter what. Provide filters and facets to help bring further specificity to their search. For an e-commerce site, some common filters might include size, color, and price.
How long should a search bar be?
A rule of thumb is to have a 27-characters text input (extending the box to 27 characters would accommodate 90% of queries).