Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
The Alfresco Share 3.4.b release includes a number of user interface improvements to Search and the addition of Repository wide searching.
frame|c|none|Share Search - new features
The following describes the improvements and example configurations.
The entire repository can now be searched, results will now be shown from all folders that the user has the appropriate access to. The context sensitive search features of the interface have also been improved. Previous to this version, only the current site or All Sites would be available as the context of a search. Now users who search from within the Repository Browser page will immediately see results from Repository search, and Repository is always available as a toggle to expand the context for search results.
frame|c|none|Share Search - context toggle
This is the default search configuration from share-config.xml:
<config evaluator='string-compare' condition='Search'>
<search>
<min-search-term-length>1</min-search-term-length>
<max-search-results>250</max-search-results>
<repository-search>context</repository-search>
</search>
</config>
Override this section in the share-config-custom.xml file for your installation as usual to change the defaults.
Share Repository search configuration options:
The sort options available to the user can be configured to contain any valid property, including those of custom types. The following configuration is provided by default:
<config evaluator='string-compare' condition='Search'>
<search>
<sorting>
<sort labelId='search.sort.relevance'></sort>
<sort labelId='label.name'>cm:name</sort>
<sort labelId='label.title'>cm:title</sort>
<sort labelId='label.description'>cm:description</sort>
<sort labelId='label.author'>cm:author</sort>
<sort labelId='label.modifier'>cm:modifier</sort>
<sort labelId='label.modified'>cm:modified|false</sort>
<sort labelId='label.creator'>cm:creator</sort>
<sort labelId='label.created'>cm:created|false</sort>
<sort labelId='search.sort.size'>.size|true</sort>
<sort labelId='search.sort.mimetype'>.mimetype</sort>
<sort labelId='search.sort.type'>TYPE</sort>
</sorting>
</config>
To add or modify the available sort properties, override the above section in share-config-custom.xml.
The sort config element contains the name of the content model field to sort against and can be of the form:
The field can be optionally followed by |true or |false to indicate sorting direction.
The config element supports the following optional attributes:
It should be noted that the default sort option is Relevance which is configured with an empty value.
On display of the search results screen, the sorting menu will be built from the supplied configuration and the order of the items in the menu will match the order of the items in the configuration.
The search capabilities of the Share people finder have been improved in this version.
To search for users by first name, last name or user name just type a single term, for example:
Joe
The results for this query will list all users whose first name, last name or user name starts with Joe.
To search for users by first and last name, separate two terms with a space, for example:
Joe Bloggs
The results for this query will list all users whose first name starts with Joe and and surname starts with Bloggs.
You can also enter just the start of the name, for example:
Joe B
The results for this query will list all users whose first name starts with Joe and and surname starts with B.
To search for users by property add the property as a prefix, for example:
location:maidenhead
The results for this query will find users whose location contains maidenhead.
The search will AND multiple terms together, for example:
jobtitle:engineer organization:alfresco
The results for this query will find users whose job title contains engineer and organization contains alfresco.
To reduce search results by property, add a property search term after a name search, for example:
Smith jobtitle:engineer
The results for this query will find users whose first name, last name or user name starts with Smith and job title contains engineer.
A Smith jobtitle:engineer
The results for this query will list all users whose first name starts with A and and surname starts Smith and job title contains engineer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.