cancel
Showing results for 
Search instead for 
Did you mean: 

Content Indexing on Solr

lakshya
Champ in-the-making
Champ in-the-making
Hello,
How can we do Indexing of Alfresco Content Solr over Http Network??

Please respond quickly coz its somewhat urgent…..

Thanx in advance
5 REPLIES 5

pmonks
Star Contributor
Star Contributor
An answer to this question is highly dependent on the use case - do you wish to index WCM content so that your web site can search it via Solr?  Do you wish to index all DM content into Solr and update Alfresco's own search UI to use Solr?  Something else entirely?  The more detail you can provide on the specific use case you're trying to address, the better.

Cheers,
Peter

lakshya
Champ in-the-making
Champ in-the-making
Yes we wish to index all DM content into Solr and update Alfresco's own search UI to use Solr.
Can you provide pointers on this.

Thnx

pmonks
Star Contributor
Star Contributor
In that case it would be a matter of:
  1. hooking the appropriate CRUD events in Alfresco and using those to trigger indexing in SOLR

  2. implementing a new advanced search UI that calls SOLR

  3. optionally removing (or at least delinking) the default Alfresco search UI
#1 can be done in a variety of ways, although I'd probably look at using a repository ContentPolicy (noting that additional steps might be required to handle deletes).  #2 would be accomplished using a custom Share "surflet" (a Surf component that can be configured into the Share UI).  #3 would be done by deconfiguring the OOTB search surflet(s) from the Share UI.

It's also worth noting that like Alfresco SOLR uses Lucene as the underlying search engine, so there may not be a lot of functional benefit in using it instead of Alfresco's native search capabilities.  If you need the ability to search Alfresco managed content from other applications, Alfresco exposes its search capabilities via REST (Web Scripts), so it's just as accessible as SOLR.

Cheers,
Peter

tamilraj2003
Champ in-the-making
Champ in-the-making
How do we do faceted search using Alfresco & Lucene, without using solr?

andy
Champ on-the-rise
Champ on-the-rise
Hi

Alfresco and lucene together do not support faceting - you would probably need SOLR.

Peter's approach is possible (assuming you do not want and security or transactionality)

We are currently integrating SOLR to provide alternative search support within Alfresco.

It may be easier to hget weak faceting using lucene in Alfresco (the facets do not represent the results but the whole data set) as we have done for tagging.

Andy