Showing posts with label alfresco search features. Show all posts
Showing posts with label alfresco search features. Show all posts

Monday, February 11, 2013

How to Search your Content in Alfresco?

Alfresco provides faceted search feature to search your content from Alfresco repository. Now here is small description about faceted search.  Faceted Search is advance search feature; users can search content compilation by applying various filters to their search results in a navigational way.  Faceted search splits up search results into multiple categories, usually showing counts for each, and lets the user to "drill down" or further control their search results based on those facets.



Faceting is performed on indexed rather than stored values. This is because the primary use for faceting is drill-down into a subset of hits resulting from a query, and so the selected facet value is used to build a filter query which factually matches that value in the index.

Alfresco search engines supports distinct and multiple character wildcard searches in single terms. If you want to search for “abcd” or “abdc” you can apply the search “ab?d” or “ab*d”. Another example of Alfresco search is selective Searches. The selective searches are based on the Levenshtein Distance, or Edit Distance algorithm. To search for a tem similar in spelling to “foam” you can use “Foam~”. This search will find terms like “foam” and “roams”. In addition, you can specify the correspondence by providing a value between o and 1 such as “foam~0.7”.

Another excellent feature of Alfresco search is that it is potential to search the Alfresco repository straightforwardly from the browser. Consecutively to include the Alfresco to Firefox or IE, to search alfresco repository directly from browser, Open any browser and login Alfresco explorer client. Once logged in your browser, “Alfresco keyword search” should be presented in your search engine drop down box.



Now you can search the Alfresco repository directly from your browser.























Monday, January 28, 2013

Usage of Search Feature in Alfresco Development

The Search functionality is one of the important facets for an Open Source CMS, and as you know, Alfresco uses most two powerful search engines LUCENE and Apache SOLR, Which provides high-performance, full-featured text search engine.

In previous version of Alfresco comes with only lucene search engine, but in latest version of Alfresco 4.x alfresco introduce with SOLR engine. Now Alfresco provides single text search feature.


Solr Contains two cores in Alfresco one is Workspace and archive
  • Workspace Store: searching all live content stored at alfresco/alf_data/contentstore.
  • Archive Store: searching content that has been marked as deleted at alfresco/alf_data/contentstore.
Performing a search in Alfresco is easy. Simply type one or more search terms into the search box, and press the Enter key or click on the search icon as shown in the below


You can use Google-style query syntax to search the content stored in the Alfresco repository. You can also use the advanced search form to create composite search criteria to search content, expand the advanced search form to comprise your custom content types and custom properties.