[MRM-1125] - default search should be AND not OR for multiple keywords

* rephrase the Quick Search behavior



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940713 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jevica Arianne B. Zurbano 2010-05-04 02:32:41 +00:00
parent 47847c95c1
commit aad0ae13cf
1 changed files with 4 additions and 4 deletions

View File

@ -76,10 +76,10 @@ Searching
For example you typed in 'ant', the search result would contain the list of artifacts that use or For example you typed in 'ant', the search result would contain the list of artifacts that use or
reference 'ant'. reference 'ant'.
For query strings that are separated by whitespaces, Archiva searches for the exact query string. For query strings containing whitespaces, Archiva searches for the query string including the whitespaces.
So if you typed in 'commons logging', the search result would contain the list of artifacts that use or So if you typed in 'commons logging', the search result would contain the list of artifacts that
reference 'commons logging' and not artifacts that only contain both 'commons' and 'logging' reference 'commons logging' which is still separated by whitespace.
such as 'commons-logging'. In this case, 'commons-logging' (hyphen separated) is not included in the search results.
Archiva can also search the index for java classes, packages, and methods and return a list of artifacts containing the Archiva can also search the index for java classes, packages, and methods and return a list of artifacts containing the
query string. In the previous versions, we need to append the keyword 'bytecode:' before the query string in the search box query string. In the previous versions, we need to append the keyword 'bytecode:' before the query string in the search box