Content Search in Alfresco

For any CMS after storing all the contents in the repository it is equally important to make it available to external systems in secure way. Alfresco has very robust and flexible architecture which gives various different ways to access and manipulate its repository in secure manner. There are various different set of extension points to alfresco repository.

RESTFul Services can be checked through following URL in your local Alfresco installation

https:// [host]: [port]/alfresco/service/

CMIS Services can be checked through following URL in your local Alfresco installation

http://[host]:[port]/alfresco/service/cmis

Although there are various different set of Out of Box set of webscripts, Webservices and CMIS Services available which provide access to the Alfresco repository to external system they are very generic so In actual development projects most of the times in order to implement our specific business logic we need to search though the repository and fetch contents from alfresco repository based on some given criteria.

Alfresco use Lucene for indexing in backend so whenever we want to search though repository we need to create Lucene Query and need to fire that query in repository it will return Resultset with list of matching nodeRefs from repository.

Along with Lucene it allows following different types of queries.

  • “lucene”
  • “xpath”
  • “jcr-xpath”
  • “fts-alfresco”
  • “solr-fts-alfresco”
  • “cmis-strict”
  • “cmis-alfresco”
  • “solr-cmis”
  • “solr-alfresco”

Most of above queries are supported in wide range of languages like JAVA, C#,.NET. So external application can easily be integrated with Alfresco irrespective of language used within that application

We will be seeing some of the example how to use this queries internally keep following my posts in this space.

Looking for quality Alfresco Web Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , | Posted under Alfresco | RSS 2.0

Author Spotlight

mitpatoliya

mitpatoliya

I love opensource technologies working with those technologies from the time I have stepped in to the Software Industry. Alfresco CMS is my area of expertise. I have worked on various complex implementations which involved integration of Alfresco with other technologies, extensively worked with JBPM workflows and Webscripts.

Leave a Reply

Your email address will not be published. Required fields are marked *


2 − 2 =

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>