diff options
author | Jevica Arianne B. Zurbano <jzurbano@apache.org> | 2010-04-30 08:57:13 +0000 |
---|---|---|
committer | Jevica Arianne B. Zurbano <jzurbano@apache.org> | 2010-04-30 08:57:13 +0000 |
commit | 30d51b6a3082d9a2d55409b5d6b3209c61b122af (patch) | |
tree | b32f61315dceb271b7e10422ab7971a66cf52956 /archiva-docs/src | |
parent | 6a2661f86613f73c19289d2edc2986f08d5b454b (diff) | |
download | archiva-30d51b6a3082d9a2d55409b5d6b3209c61b122af.tar.gz archiva-30d51b6a3082d9a2d55409b5d6b3209c61b122af.zip |
[MRM-1125] - default search should be AND not OR for multiple keywords
* document Quick Search behavior
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@939591 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs/src')
-rw-r--r-- | archiva-docs/src/site/apt/userguide/searching.apt | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/archiva-docs/src/site/apt/userguide/searching.apt b/archiva-docs/src/site/apt/userguide/searching.apt index 2622d28a4..15993b9e4 100644 --- a/archiva-docs/src/site/apt/userguide/searching.apt +++ b/archiva-docs/src/site/apt/userguide/searching.apt @@ -71,9 +71,15 @@ Searching * Quick Search The contents of all the files in the repository that matches the above configuration will be indexed during repository - scan. So when you type a word in the search box, Archiva will search the index for that query string and return all the - search hits in the form of a paginated list of artifacts. For example you typed in 'ant', the search result - would contain the list of artifacts that use or reference 'ant'. + scan. So when you type a word in the search box, Archiva will search the index for that query string and + return all the search hits in the form of a paginated list of artifacts. + For example you typed in 'ant', the search result would contain the list of artifacts that use or + reference 'ant'. + + For query strings that are separated by whitespaces, Archiva searches for the exact query string. + So if you typed in 'commons logging', the search result would contain the list of artifacts that use or + reference 'commons logging' and not artifacts that only contain both 'commons' and 'logging' + such as 'commons-logging'. 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 |