Thanks for your reply. I just want to have an internal search and another option to search for an external repository.
I'm still quite new to Alfresco Share. Could you give a more detail code snippets/config as an example?
The current search implementation still would be remain. Thus I can't replace it.
I'm referring to the Search and Advance search function in the repositry section.
From the wiki I failed to find any guideline on how does this search mechanism is wired, probably this part is considered an an internal architecture?
Anyway, from my understanding the search button was wired via yahoo bubbling ui event and invoke a uri to fetch the repository. The return format is in JSON format.
The questions is if I were to wire a SOLR to Share, then this uri would be a solr uri?
If yes, then this uri should return a json format compatible with Share. Not sure thought the Solr default json is compatible or not. Otherwise, any pointer for the format beside the one embedded on share\components\search\search.js (onReady: function Search_onReady())
and advsearch.js (method onSearchClick: function ADVSearch_onSearchClick(e, obj))
Finally for the external data indexing, then I've do integrate it with solr is it?