[ https://issues.apache.org/jira/browse/HIVE-1611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12978881#action_12978881 ]
Otis Gospodnetic commented on HIVE-1611: ---------------------------------------- Edward - I see what you are describing. Short version: I can't find the file I need to modify to change the searchbox behaviour. Please help. Explanation: Because I saw that the search form is defined in a few places in author/src/documentation/skins/hadoop-pelt/xslt/html/site-to-xhtml.xsl I thought that the way to modify the search stuff would be by editing that author/src/documentation/skins/hadoop-pelt/xslt/html/site-to-xhtml.xsl and fixing whatever is wrong in it. However, it looks like the above file is not even used for building the site pages. Is this correct? I say that because after I made various changes in that file it would never "take", as if the file was not being used. I then removed the file completely and re-ran ant from the site dir and it happily generated all site pages. If that file were used, I assume I'd get an error. So which file should I edit to modify the search box behaviour? I thought I'd try looking for the "Search the site with" string to locate the file, because that's the text that's shown in the search box by default... $ ffg "Search the site with" | egrep -v 'svn|build|publish' ./author/src/documentation/skins/common/translations/CommonMessages_en_US.xml: <message key="Search the site with">Search site with</message> ./author/src/documentation/skins/common/translations/CommonMessages_de.xml: <message key="Search the site with">Suche auf der Seite mit</message> ./author/src/documentation/skins/common/translations/CommonMessages_fr.xml: <message key="Search the site with">Rechercher sur le site avec</message> ./author/src/documentation/skins/common/translations/CommonMessages_es.xml: <message key="Search the site with">Buscar en</message> But the above are just i18n messages. Then I peeked at the source of hive.apache.org and noticed the "start Search" comment near the search box, so I looked for that: $ ffg "start Search" | egrep -v 'svn|build|publish' ...and found nothing. I'm not sure if it matters that author/src/documentation/skins is some sort of external item.... pointing to http://svn.apache.org/repos/asf/hadoop/site/author/src/documentation/skins it seems. Since Hive is not TLP, maybe this should be changed anyway? But that may be a separate issue. Hmmm.... help? :) > Add alternative search-provider to Hive site > -------------------------------------------- > > Key: HIVE-1611 > URL: https://issues.apache.org/jira/browse/HIVE-1611 > Project: Hive > Issue Type: Improvement > Reporter: Alex Baranau > Assignee: Edward Capriolo > Priority: Minor > Attachments: HIVE-1611.patch > > > Use search-hadoop.com service to make available search in Hive sources, MLs, > wiki, etc. > This was initially proposed on user mailing list. The search service was > already added in site's skin (common for all Hadoop related projects) before > so this issue is about enabling it for Hive. The ultimate goal is to use it > at all Hadoop's sub-projects' sites. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.