Can you please let me know is there any article/document that explains how we can integrate GSA (Google Search Appliance ) with AEM 6.0
If your pages can all be just static files, you can configure the site mail url in GSA and it will index based on sitemap. Or else, you can write a agent to post content via gsa api and index on modification of pages and assets. To show the response , you need to get the data as xml and parse and display on the page. Adobe SearchandPromote does something very similar and much more and has OOB integration. Please have a look.
I couldnt find any article/document on integrating with GSA. As we know GSA is a crawling search engine, you can use GSA APIs to build your index and search from the index. We had done this in one of our implementation. I will try to come up with a document in couple of days and see if it helps you.
In GAS, you need to configure :
1) Front Ends Set up Front Ends to create different search and search results pages.
2) configure URL for crawling ( e.g. http://www.mysite.com/ )
Exclude url patterns if needed.
3) create collections
e.g. default_collection can including all pages. "/"
In CQ, search criteria should be set for all pages, as part of meta data.
<meta http-equiv="keywords" content="CQ, AME">
Create CQ component for Search functionality. Component would retrieve data from GSA ( via API) in your CQ search component.